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
WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!
原文地址:https://www.cnblogs.com/MimiSnowing/p/14860264.html