I have to replicate the scenario where i need my POD to be paused or stop

1/10/2019

Command to pause or stop POD , I have to replicate scenario in production POD contains containers running there is a way to pause docker containers is there any way for POD in Kubernetes

-- Alok
kubernetes

1 Answer

1/11/2019

if I understand your request correctly you should just scale up/down your deployment:

kubectl scale deployment <deployment_name> --replicas=<number_of_needed_pods>
-- eran meiri
Source: StackOverflow