Skip to content

k8s scale all deployment to “0”

You can shut down all deployments under a namespace using the following command.

kubectl scale deploy -n <namespace> --replicas=0 --all

Published inKubernetes
© 2024 M.Sertaç Bayır - All Rights Reserved