summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-01-16 14:30:35 -0500
committerLouie S <louie@example.com>2024-01-16 14:30:35 -0500
commit90c617932b64202544c968808386b405582b7698 (patch)
treef3a26d5cf8076d34cfd4208128741548bbe2a1ec
parentc00a38094afb42b9de81bfe4f7f4cacd631ee609 (diff)
Watched through ch. 16
-rw-r--r--kubernetes_cheat_sheet.md10
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.
| | |