mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-15 14:26:57 +00:00
Merge pull request #17132 from janetkuo/kubectl-rollingupdate-rollback
Auto commit by PR queue bot
This commit is contained in:
@@ -58,8 +58,11 @@ $ cat frontend-v2.json | kubectl rolling-update frontend-v1 -f -
|
||||
# name of the replication controller.
|
||||
$ kubectl rolling-update frontend-v1 frontend-v2 --image=image:v2
|
||||
|
||||
# Update the pods of frontend by just changing the image, and keeping the old name
|
||||
# Update the pods of frontend by just changing the image, and keeping the old name.
|
||||
$ kubectl rolling-update frontend --image=image:v2
|
||||
|
||||
# Abort and reverse an existing rollout in progress (from frontend-v1 to frontend-v2).
|
||||
$ kubectl rolling-update frontend-v1 frontend-v2 --rollback
|
||||
`
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user