The Cluster Autoscaler addon automates the adjustment of your Kubernetes cluster size. It uses the Cluster-API provider to scale the number of replicas in a MachineDeployment object.
Scaling Logic:
- Scale Up: Triggered when pods fail to run due to insufficient resources.
- Scale Down: Triggered when nodes are underutilized for an extended period (default is 10 minutes) and their pods can be rescheduled elsewhere.
Key Distinction: Unlike traditional cloud Autoscaling Groups (ASGs), KubeOne uses the machine-controller to manage instances directly via Kubernetes objects. This allows you to manage, monitor, and perform rolling updates on worker nodes using standard kubectl or the Kubernetes API.