mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
Merge pull request #25810 from andreykurilin/kubectl_rollingupdate
Automatic merge from submit-queue Add link to diagram of `kubectl rolling-update`
This commit is contained in:
commit
cf7b033fbf
@ -49,7 +49,10 @@ var (
|
|||||||
|
|
||||||
Replaces the specified replication controller with a new replication controller by updating one pod at a time to use the
|
Replaces the specified replication controller with a new replication controller by updating one pod at a time to use the
|
||||||
new PodTemplate. The new-controller.json must specify the same namespace as the
|
new PodTemplate. The new-controller.json must specify the same namespace as the
|
||||||
existing replication controller and overwrite at least one (common) label in its replicaSelector.`)
|
existing replication controller and overwrite at least one (common) label in its replicaSelector.
|
||||||
|
|
||||||
|

|
||||||
|
`)
|
||||||
rollingUpdate_example = dedent.Dedent(`
|
rollingUpdate_example = dedent.Dedent(`
|
||||||
# Update pods of frontend-v1 using new replication controller data in frontend-v2.json.
|
# Update pods of frontend-v1 using new replication controller data in frontend-v2.json.
|
||||||
kubectl rolling-update frontend-v1 -f frontend-v2.json
|
kubectl rolling-update frontend-v1 -f frontend-v2.json
|
||||||
|
Loading…
Reference in New Issue
Block a user