diff options
author | Louie S <louie@example.com> | 2024-01-16 14:30:35 -0500 |
---|---|---|
committer | Louie S <louie@example.com> | 2024-01-16 14:30:35 -0500 |
commit | 90c617932b64202544c968808386b405582b7698 (patch) | |
tree | f3a26d5cf8076d34cfd4208128741548bbe2a1ec /kubernetes_cheat_sheet.md | |
parent | c00a38094afb42b9de81bfe4f7f4cacd631ee609 (diff) |
Watched through ch. 16
Diffstat (limited to 'kubernetes_cheat_sheet.md')
-rw-r--r-- | kubernetes_cheat_sheet.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes_cheat_sheet.md b/kubernetes_cheat_sheet.md index eae2505..9244fc2 100644 --- a/kubernetes_cheat_sheet.md +++ b/kubernetes_cheat_sheet.md @@ -109,6 +109,16 @@ |`kubectl delete -f [definition.yaml]` |Delete a CronJob | |`kubectl delete cj [jobName]` |Same but using the CronJob name| +### RollingUpdate + +| | | +|--------------------------------------|-----------------------------| +|`kubectl apply -f [definition.yaml]` |Update a deployment | +|`kubectl rollout status` |Get the progress of the update| +|`kubectl rollout history deployment [deploymentname]`|Get the history of the deployment| +|`kubectl rollout undo [deploymentname]`|Rollback a deployment | +|`kubectl rollout undo [deploymentname] --to-revision=[revision#]`|Rollback to a revision number| + ### Misc. | | | |