Problem Statement
How can you roll back a Deployment to a previous version?
Explanation
You can use `kubectl rollout undo deployment/<name>` to revert a Deployment to its previous revision. Kubernetes keeps a history of revisions (by default a limited number) and this command restores the earlier state, enabling safer rollbacks.
Code Solution
SolutionRead Only
kubectl rollout undo deployment/myapp
