Skip to content
Theory · Deployments · lesson 5 of 8

How a rolling update runs

You can't replace all of a train's carriages at once: the train would stand still for that time, and the passengers would have nowhere to ride. So carriages are swapped a few at a time: couple a new one, make sure it is fine, uncouple an old one. Kubernetes updates an app the same way, and two settings of the Deployment decide how many Pods it swaps at a time.

In this lesson

  • What starts an update
  • Two limits
  • Step by step
  • Readiness decides
  • Percentages and the defaults
  • Common mistake
  • Key points