mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
remove "scale job" from help info
Remove "scale job" from help info since it's deprecated
This commit is contained in:
parent
ded25445fe
commit
8be9d275b6
@ -31,7 +31,7 @@ import (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
scaleLong = templates.LongDesc(i18n.T(`
|
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.
|
Scale also allows users to specify one or more preconditions for the scale action.
|
||||||
|
|
||||||
@ -52,8 +52,8 @@ var (
|
|||||||
# Scale multiple replication controllers.
|
# Scale multiple replication controllers.
|
||||||
kubectl scale --replicas=5 rc/foo rc/bar rc/baz
|
kubectl scale --replicas=5 rc/foo rc/bar rc/baz
|
||||||
|
|
||||||
# Scale job named 'cron' to 3.
|
# Scale statefulset named 'web' to 3.
|
||||||
kubectl scale --replicas=3 job/cron`))
|
kubectl scale --replicas=3 statefulset/web`))
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewCmdScale returns a cobra command with the appropriate configuration and flags to run scale
|
// NewCmdScale returns a cobra command with the appropriate configuration and flags to run scale
|
||||||
|
Loading…
Reference in New Issue
Block a user