Interview Prep/DevOps Fundamentals/Deployment strategies

What is a rolling deployment?

BeginnerConceptDeployment strategies
Answer

A rolling deployment replaces old instances with new ones a few at a time.

Example: with 10 pods, Kubernetes starts 2 new pods, waits until they are healthy, removes 2 old ones, and repeats until all 10 are new.

  • Pro: no downtime, and it is the default in Kubernetes.
  • Con: old and new versions run together for a while, and rollback also happens gradually.
All DevOps Fundamentals questions Roadmap: What is DevOps

More on Deployment strategies