kubectlDeploying

kubectl rollout

Manages the rollout of a Deployment — checking status, viewing history, or rolling back.

Syntax

kubectl rollout status|undo|history deployment/<name>

Examples

Roll back to the previous revision

kubectl rollout undo deployment/api

Related commands