Horizontal Pod Autoscaler Operations
Jump to navigation
Jump to search
Internal
Create an Autoscaler
A pre-requisite, if we intend the autoscaler to monitor resource metrics, a source of resource metrics must be deployed. The simplest source of resource metrics is the metrics server.
With CLI
kubectl autoscale deployment <deployment-name> --cpu-percent=50 --min=1 --max=10