Skip to content
Captain's Academy0
← Kubernetes sea chart
Island 4 · App Lifecycle · Port 4.1

Rolling updates & rollbacks

Ask the Captain
Instagram
Broken release? One command brings the old one back.
You'll learn to

update, watch and undo a rollout; Recreate vs RollingUpdate

Recap

  1. 1set image → new ReplicaSet, pod by pod
  2. 2Recreate = all down first (downtime)
  3. 3rollout undo scales the old one back up
Check yourself

You run kubectl rollout undo. Where do the old pods come from?

4.1

Stamp this lesson

Watched it and passed the check? Mark it in your logbook.