kubectl rollout
Manage the rollout of a Kubernetes resource (deployments, daemonsets, and statefulsets). More information: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#rollout.
-
Start a rolling restart of a resource:
kubectl rollout restart {{resource_type}}/{{resource_name}}
-
Watch the rolling update status of a resource:
kubectl rollout status {{resource_type}}/{{resource_name}}
-
Roll back a resource to the previous revision:
kubectl rollout undo {{resource_type}}/{{resource_name}}
-
View the rollout history of a resource:
kubectl rollout history {{resource_type}}/{{resource_name}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.