如何使用 oc 命令而不是 DeploymentConfig 来扩展 Deployment

How to use oc command to scale up a Deployment instead of DeploymentConfig

有谁知道当我在部署中单击 “向上”箭头 时执行相同工作的 oc 命令?

我只是试着找到答案:

oc scale deployments/cakephp-dw-git --replicas=1