Autoscaling Kubernetes Clusters

You can automatically scale the nodes and pods of clusters you create using Container Engine for Kubernetes to optimize resource usage.

To enable cluster autoscaling by autoscaling node pools, you can deploy the Kubernetes Cluster Autoscaler (see Using the Kubernetes Cluster Autoscaler).

To enable autoscaling by autoscaling pods, you deploy the Kubernetes Metrics Server to collect resource metrics from each worker node in the cluster (see Deploying the Kubernetes Metrics Server on a Cluster Using Kubectl). Having deployed the Kubernetes Metrics Server, you can then use:

You can use the Kubernetes Cluster Autoscaler in a cluster with both the Kubernetes Horizontal Pod Autoscaler and the Kubernetes Vertical Pod Autoscaler.