beginnerWorkloads I: Deployment & ReplicaSet
How does kubectl rollout undo work mechanically?
Each revision is backed by a retained ReplicaSet at zero replicas. Rollback simply scales the target previous ReplicaSet back up and the current one down -- the Pod template already exists, making rollback much faster than a fresh deploy.
This is a Pro chapter
Sign in, then upgrade to Pro or Power to unlock this and the full DevOps Mastery library.
How does kubectl rollout undo work mechanically?