OpenShift

oc rsh pod-id
oc project
oc project project-id
oc completion bash >> .bashrc
oc -ndefault get network/cluster
oc label dc/apache-test app=apache-test
oc scale --replicas=1 dc -l labelname=value
oc get dc | cut -d " " -f1 | xargs -L1 oc rollout latest
docker/openshift.txt · Last modified: 2021/10/15 17:03 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki