/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Server/Orchestration/openshift/recipes.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2017-04-03 02:45:17 UTC
  • Revision ID: csa@suren.me-20170403024517-dwzj0z0k1cmhxm7u
Restructuring, OpenShift, Ansible, Git

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
- Check if there are running replicas, i.e. all is fine:
 
2
    oc get dc/heketi --template '{{.status.availableReplicas}}'
 
3
 
 
4
- Restart Apache in standard Docker (1) and CentOS (2) container
 
5
    oc -n katrin exec $(oc -n katrin get pods -l "name=kaas" --template '{{ (index .items 0 "metadata").name }}') -- apachectl -k graceful
 
6
    oc -n katrin exec $(oc -n katrin get pods -l "name=kaas" --template '{{ (index .items 0 "metadata").name }}') -- /opt/rh/httpd24/root/usr/sbin/apachectl -k graceful
 
7
    
 
 
b'\\ No newline at end of file'