From 90c617932b64202544c968808386b405582b7698 Mon Sep 17 00:00:00 2001 From: Louie S Date: Tue, 16 Jan 2024 14:30:35 -0500 Subject: Watched through ch. 16 --- kubernetes_cheat_sheet.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kubernetes_cheat_sheet.md') 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. | | | -- cgit