- Home
- All questions
- Question 922
CKA study material · question 922 of 1000
kubectl rollout undo deployment/api is run with no other flags. Which revision does it restore?
Show the answer
Answer: B. The immediately preceding revision
rollout undo goes back one revision by default; --to-revision selects a specific earlier one from the history.
Source: kubectl rollout undo (Kubernetes) — Examples