Kubernetes Scaling

October 26, 2022

You can scale kubernetes pods manually on the command line, using something like:

$ kubectl -n namespace scale deploy podname --replicas=0

This particular example will scale to zero, and so stop the pod - this is useful for testing probes that rely on this pod to return success.