Skip to content
Opsfolk

Delivery, topic 27 of 61

Rolling updates and rollbacks

A Deployment's default strategy replaces old Pods with new ones in steps. maxSurge says how many extra Pods may exist during the update, and maxUnavailable how many may be missing; readiness probes decide when each new Pod counts.

kubectl rollout undo returns to the previous ReplicaSet, and rollout history lists the ones kept. A rollout that stops making progress is marked failed after progressDeadlineSeconds, but it is not rolled back for you.

On Opsfolk

Elsewhere

Your progress