Kubernetes : restart a deployment
The following command will restart all pods associated with a given deployment.
kubectl --namespace [namespace-name] rollout restart deployment [deployment-name]
Pods are only restarted, not recreated.
The following command will restart all pods associated with a given deployment.
kubectl --namespace [namespace-name] rollout restart deployment [deployment-name]
Pods are only restarted, not recreated.