Interview Prep/DevOps Fundamentals/Deployment strategies

What is a rollback, and how do you make rollbacks easy?

IntermediateConceptDeployment strategies
Answer

A rollback means returning to the previous working version after a bad deployment.

To make rollbacks fast and safe:

  • Keep previous versions of artifacts and images (never overwrite tags like latest in production).
  • Use strategies like blue/green or canary that keep the old version available.
  • Make database changes backward compatible, so the old app version still works.
  • Automate the rollback in your pipeline, for example kubectl rollout undo or an Argo CD sync to the previous commit.
All DevOps Fundamentals questions Roadmap: What is DevOps

More on Deployment strategies