CK.II · CKAD practice question
A Deployment is stuck in Progressing condition with message 'ReplicaSet ... has timed out progressing' because new Pods fail readiness probes. What is the fastest way to return traffic to the previous working version using kubectl?
Check answer and explanation
Correct answer: kubectl rollout undo deployment/ -n
Explanation
kubectl rollout undo reverts the Deployment's Pod template to the previous revision, scaling down the failing ReplicaSet and restoring the prior ReplicaSet.
Common trap
kubectl rollout undo reverts the Deployment's Pod template to the previous revision, scaling down the failing ReplicaSet and restoring the prior ReplicaSet.
Source: Original unofficial practice; not an official CKAD exam item
Checked against the cited text on 2026-11-30.