Skip to content

Latest commit

 

History

History
86 lines (62 loc) · 3.62 KB

applying-autoscaling.adoc

File metadata and controls

86 lines (62 loc) · 3.62 KB

Applying autoscaling to an {product-title} cluster

Applying autoscaling to an {product-title} cluster involves deploying a cluster autoscaler and then deploying machine autoscalers for each machine type in your cluster.

Important

You can configure the cluster autoscaler only in clusters where the Machine API Operator is operational.

Configuring the cluster autoscaler

First, deploy the cluster autoscaler to manage automatic resource scaling in your {product-title} cluster.

Note

Because the cluster autoscaler is scoped to the entire cluster, you can make only one cluster autoscaler for the cluster.

modules/deploying-resource.adoc .Next steps * After you configure the cluster autoscaler, you must configure at least one machine autoscaler.

Configuring machine autoscalers

After you deploy the cluster autoscaler, deploy MachineAutoscaler resources that reference the compute machine sets that are used to scale the cluster.

Important

You must deploy at least one MachineAutoscaler resource after you deploy the ClusterAutoscaler resource.

Note

You must configure separate resources for each compute machine set. Remember that compute machine sets are different in each region, so consider whether you want to enable machine scaling in multiple regions. The compute machine set that you scale must have at least one machine in it.

Disabling autoscaling

You can disable an individual machine autoscaler in your cluster or disable autoscaling on the cluster entirely.