openshift oc set volume的扩展对象

# oc set volume 只适用new-app创建的应用
oc set volume

通过纯yml创建的Pod没有生命周期管理,因为没有dc rc
oc scale只能扩展new-app创建出来的应用

[student@workstation template]$ oc apply -f wordpress-mysql.json -n openshift
template "wordpress-mysql-example" created
[student@workstation template]$ oc apply -f wordpress-mysql.json
template "wordpress-mysql-example" created
[student@workstation template]$

[student@workstation template]$ oc import-image wordpress-mysql-example:latest --from=registry.lab.example.com --confirm -n projectX
posted @ 2021-06-07 19:43  素丶素  阅读(108)  评论(0编辑  收藏  举报