Roll back to a chosen revision.
Section: Deployments
Undo to specific revision
bash
bash
kubectl rollout undo deployment/web --to-revision=3 -n paymentsExplanation
Roll back to a chosen revision.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Deployments