How to Perform a Rollback

Learn how to perform a rollback on a Deployment.

A moment ago, you used kubectl apply to perform a rolling update on a Deployment. You used the --record flag so that Kubernetes would maintain a documented revision history of the Deployment. The following kubectl rollout history command shows the Deployment with two revisions.

Get hands-on with 1200+ tech skills courses.