kubectl autoscale
Auto-scale a deployment, replica set, stateful set, or replication controller kubectl reference
16 options Its page in the kubectl reference
Options
--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--cpuTarget CPU utilization over all the pods.--dry-runMust be "none", "server", or "client".--field-managerName of the manager used to track field ownership.--filename, -fFilename, directory, or URL to files identifying the resource to autoscale.--help, -hhelp for autoscale--kustomize, -kProcess the kustomization directory.--maxThe upper limit for the number of pods that can be set by the autoscaler.--memoryTarget memory utilization over all the pods.--minThe lower limit for the number of pods that can be set by the autoscaler.--nameThe name for the newly created object.--output, -oOutput format.--recursive, -RProcess the directory used in -f, --filename recursively.--save-configIf true, the configuration of current object will be saved in its annotation.--show-managed-fieldsIf true, keep the managedFields when printing objects in JSON or YAML format.--templateTemplate string or path to template file to use when -o=go-template, -o=go-template-file.