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. |
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.
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 |
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. |
You can disable an individual machine autoscaler in your cluster or disable autoscaling on the cluster entirely.