support statefulset in kubectl autoscale command

This commit is contained in:
Pingan2017
2018-11-16 10:42:39 +08:00
parent 8797db339d
commit c3bb1c4601
3 changed files with 6 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ var (
autoscaleLong = templates.LongDesc(i18n.T(`
Creates an autoscaler that automatically chooses and sets the number of pods that run in a kubernetes cluster.
Looks up a Deployment, ReplicaSet, or ReplicationController by name and creates an autoscaler that uses the given resource as a reference.
Looks up a Deployment, ReplicaSet, StatefulSet, or ReplicationController by name and creates an autoscaler that uses the given resource as a reference.
An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.`))
autoscaleExample = templates.Examples(i18n.T(`