easykubectl

Trigger a rolling restart of all pods in a deployment without changing the spec

command

kubectl rollout restart deployment/DEPLOYMENT_NAME

also accepted

kubectl rollout restart deploy/DEPLOYMENT_NAMEkubectl rollout restart deploymentkubectl rollout restart deploy

Test your recall — not just your reading.

Practice with interactive quiz →