mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 17:26:14 +02:00
kubectl-rollout: add page (#6671)
This commit is contained in:
parent
726f064705
commit
96a3bb8dc8
1 changed files with 20 additions and 0 deletions
20
pages/common/kubectl-rollout.md
Normal file
20
pages/common/kubectl-rollout.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue