From 8be9d275b608209c9639e84722d662fe6d644909 Mon Sep 17 00:00:00 2001 From: Cao Shufeng Date: Thu, 1 Mar 2018 17:00:05 +0800 Subject: [PATCH] remove "scale job" from help info Remove "scale job" from help info since it's deprecated --- pkg/kubectl/cmd/scale.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/kubectl/cmd/scale.go b/pkg/kubectl/cmd/scale.go index 93332c3db6..55e31f1d4d 100644 --- a/pkg/kubectl/cmd/scale.go +++ b/pkg/kubectl/cmd/scale.go @@ -31,7 +31,7 @@ import ( var ( scaleLong = templates.LongDesc(i18n.T(` - Set a new size for a Deployment, ReplicaSet, Replication Controller, or Job. + Set a new size for a Deployment, ReplicaSet, Replication Controller, or StatefulSet. Scale also allows users to specify one or more preconditions for the scale action. @@ -52,8 +52,8 @@ var ( # Scale multiple replication controllers. kubectl scale --replicas=5 rc/foo rc/bar rc/baz - # Scale job named 'cron' to 3. - kubectl scale --replicas=3 job/cron`)) + # Scale statefulset named 'web' to 3. + kubectl scale --replicas=3 statefulset/web`)) ) // NewCmdScale returns a cobra command with the appropriate configuration and flags to run scale