k8s scale
调整副本数量
//调整kej22082501命名空间下的所有deployment副本数为1
rancher kubectl scale deployment --all --replicas=1 -n kej22082501
//调整kej22082501命名空间下的redis deployment副本数为1
rancher kubectl scale deployment.apps/redis --replicas=1 -n kej22082501
标签:副本,--,kej22082501,scale,deployment,k8s
From: https://www.cnblogs.com/liwenchao1995/p/16642738.html