← GKE163 / 640
easykubectl

Roll back a Kubernetes deployment to its previous revision

command

kubectl rollout undo deployment/api-server

Command breakdown

Part of the Kubernetes CLI (kubectl) — GKE category.

kubectlrolloutundodeployment/api-server

Test your recall — not just your reading.

Practice with interactive quiz →