What does this command do?
kubectl rollout undo deployment/api
- Rolls the deployment back to the previous revision
- Deletes the deployment and all of its pods
- Pauses every new deployment across the cluster
- Scales the deployment straight down to zero
Kubernetes keeps revision history so a bad release can be reverted.
Play DevOps ▸