Think before you speak, read before you think.

k8s 停用一个 deployment statefulset

将 节点 “扩”成 0

kubectl scale --replicas=0 deployment contract-service -n dev  只能把节点扩成 0

statefulset

kubectl scale --replicas=0 statefulset kafka -n dev

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *