Autoscaling Kubernetes Node Pools and Pods

Find out about autoscaling Kubernetes node pools and pods you've created using Container Engine for Kubernetes (OKE).

You can automatically scale the node pools 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). You can deploy the Kubernetes Cluster Autoscaler on a Kubernetes cluster in two ways:

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.

Note

You can use the Kubernetes Cluster Autoscaler and the Kubernetes Vertical Pod Autoscaler with managed node pools only. You can use the Kubernetes Metrics Server and the Kubernetes Horizontal Pod Autoscaler with both virtual node pools and managed node pools.