修改deployment副本数:

查看deployment名字(后面乱码部分去掉)

kubectl get pods

kubectl scale --replicas=5 deploy/xxx

kubectl edit deployment xxx (xxx为去掉乱码后的部分)

replicas: 5   

:wq

确认(看下deployment的pod数量):

kubectl get pods