/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/openshift.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2019-01-10 05:46:35 UTC
  • Revision ID: csa@suren.me-20190110054635-pk8r99f96cg0pzz7
Update on OpenShift/Gluster/MySQL, added OSInit

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                                                                oc patch dc/apache -p '{"spec":{"template":{"spec":{"nodeSelector":{"master":"0"}}}}}'
56
56
                                                        Advanced variat able also to remove and add nodes.
57
57
                                                                oc -n adei patch dc/mysql --type=json --patch '[{"op": "remove", "path": "/spec/template/spec/nodeSelector"}]'
 
58
                                                                                                              '[{"op": "add", "path": "/spec/template/spec/nodeSelector", "value": "xxx"}]'     // add-or-replace
 
59
                                                                                                              '[{"op": "add", "path": "/spec/template/spec/nodeSelector", "value": {"x":"y"}}]' // replaces tree
58
60
 
59
61
 
60
62
    oc label <obj> key=value [--overwrite]              - tags objects