oc的常用命令整理
oc process
oc new-app
oc new-build
oc create imagestream
oc run
oc create -f
oc policy add-role-to-user edit system:serviceaccount:jenkins:jenkins -n dev
oc adm policy add-scc-to-user anyuid -z gitlab -n gitlab
oc new-project
oc set volumes
oc expose
oc start-build
oc rollback
oc rollout
oc rsync
oc rsh
oc set triggers dc/flask-app-s2i –remove-all && oc set triggers dc/flask-app-s2i –from-image=flask-app-s2i:v1 -c flask-app-s2i && oc set triggers dc/flask-app-s2i –from-config
oc patch NginxLB example-nginxlb -p ‘{“spec”: {“size”: “1”}}’ –type=merge
oc serviceaccounts create-kubeconfig
-n
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Michael Blog!
评论