Watch rollout status
Block until rollout completes or times out (use in CI)
kubectl rollout status deployment/<name> -n <ns>
- tool
- kubectl73 commands
- tags
- deployments
More kubectl commands
-
kubectl rollout undo deployment/<name> -n <ns>Revert to the previous revision
-
kubectl scale deployment/<name> --replicas=3 -n <ns>Immediately change replica count
-
kubectl get events -A --sort-by='.lastTimestamp'Recent cluster events, oldest first — great for post-incident review
-
kubectl apply --server-side --dry-run=server -f file.yamlValidate manifest against live API without applying changes
-
kubectl get deployment/<name> -n <ns> -o yamlCurrent live state with managed fields stripped; useful as a base