kubectl scale
Set a new size for a deployment, replica set, or replication controller kubectl reference
15 options Its page in the kubectl reference
Options
--allSelect all resources in the namespace of the specified resource types--allow-missing-template-keysIf true, ignore any errors in templates when a field or map key is missing in the template.--current-replicasPrecondition for current size.--dry-runMust be "none", "server", or "client".--filename, -fFilename, directory, or URL to files identifying the resource to set a new size--help, -hhelp for scale--kustomize, -kProcess the kustomization directory.--output, -oOutput format.--recursive, -RProcess the directory used in -f, --filename recursively.--replicasThe new desired number of replicas.--resource-versionPrecondition for resource version.--selector, -lSelector (label query) to filter on, supports '=', '==', '!=', 'in', 'notin'.(e.g. -l key1=value1,key2=value2,key3 in (value3)).--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.--timeoutThe length of time to wait before giving up on a scale operation, zero means don't wait.