kubectl rollout
CautionRollout restart/undo
kubectl rollout restart deploy/<name> -n <ns>
Restart, check, or roll back a Deployment.
Examples
kubectl rollout undo deploy/web -n prodRoll back to the previous revision
Syntax
kubectl rollout restart|status|undo deploy/<name> -n <ns>
Before you run it
restart/undo replace running pods.
Used when you see
Related commands
- kubectl get podsList pods
- kubectl applyApply manifests
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store