Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

25
kubectl-rollout Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`