CmdID

CmdID / Commands

kubectl-autoscale

Create an autoscaler to intelligently scale pod count based on kubernetes cluster demands. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Auto scale a deployment with no target CPU utilization specified

kubectl autoscale [deploy deployment_name --min min_replicas --max max_replicasIdentify
--minThe lower limit for the number of pods that can be set by the autoscaler. kubectl reference
--maxThe upper limit for the number of pods that can be set by the autoscaler. kubectl reference

Auto scale a deployment with target CPU utilization

kubectl autoscale [deploy deployment_name --max max_replicas --cpu-percent target_cpuIdentify
--maxThe upper limit for the number of pods that can be set by the autoscaler. kubectl reference