From 24a3c9009cbcaee2de9bd187b216fafb11b41e52 Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Wed, 18 May 2016 17:27:37 +0300 Subject: [PATCH] Add link to diagram of `kubectl rolling-update` fixes issue: #kubernetes/kubernetes.github.io#528 --- pkg/kubectl/cmd/rollingupdate.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/kubectl/cmd/rollingupdate.go b/pkg/kubectl/cmd/rollingupdate.go index 1f2eb032460..bcbb995a608 100644 --- a/pkg/kubectl/cmd/rollingupdate.go +++ b/pkg/kubectl/cmd/rollingupdate.go @@ -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 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. + + ![Workflow](http://kubernetes.io/images/docs/kubectl_rollingupdate.svg) +`) rollingUpdate_example = dedent.Dedent(` # Update pods of frontend-v1 using new replication controller data in frontend-v2.json. kubectl rolling-update frontend-v1 -f frontend-v2.json