Make Replicas Zero to Pause/Stop a Pod
$ kubectl scale --replicas=0 deployment/<service name> -n staging
deployment.extensions/<service name> scaled
It’s useful to test a bringdown status of a service.
$ kubectl scale --replicas=0 deployment/<service name> -n staging
deployment.extensions/<service name> scaled
It’s useful to test a bringdown status of a service.