Manage autoscale
Autoscale automatically expands or shrinks a cluster in a private cloud based on CPU, memory, and storage utilization thresholds. Google Cloud VMware Engine monitors the cluster based on defined metrics and adds or removes nodes from the cluster automatically. Autoscale is not available on clusters containing a single node and clusters which contain storage-only nodes.
For each cluster in your private cloud, you can choose to apply autoscale. When metrics specified in autoscale are sustained for a period of 30 minutes, VMware Engine triggers an action based on the specified policy.
Because compute, memory, and storage usage are often independent, autoscale that
monitors multiple metrics use OR
logic for scale out and AND
logic for scale
in.
Autoscale doesn't consider prepaid nodes. If you purchase prepaid nodes, you must edit the minimum node count to the count of prepaid nodes.
Enable autoscale
To enable autoscale on a cluster, do the following:
In the Google Cloud console, go to the Private clouds page.
Select the private cloud you want to access.
On the private cloud details page, click the Clusters tab.
Click the name of the cluster to enable autoscale for.
On the cluster details page, click Edit.
Select the metrics to use for autoscale and provide the Scale out and Scale in threshold.
- Scale out: Add nodes to the cluster to increase resources to meet the resource demands.
- Scale in: Remove nodes from the cluster to reduce resources to meet the resource demands.
Enter the values for Minimum nodes, Maximum nodes, Nodes per scale out and Duration for Cool-off period under Additional settings.
- Minimum nodes: Minimum number of nodes (3) in a cluster with autoscale enabled. If you purchased prepaid nodes, you must set the minimum node count to the number of prepaid nodes.
- Maximum nodes: Maximum number of nodes (32) in a cluster with autoscale enabled.
- Nodes per scale out: Number of nodes per scale out.
- Duration: Sustained resource use for a time period beyond which autoscale takes action.
- Cool off period: Minimum amount of time between actions taken due to autoscale.
Click Save.
View cluster autoscale settings
To view the autoscale settings of a cluster, do the following:
In the Google Cloud console, go to the Private clouds page.
Select the private cloud you want to access.
On the private cloud details page, click the Clusters tab.
Click the name of the cluster. Autoscale settings are displayed in the details section of the cluster. If autoscale isn't enabled on the cluster, no autoscale information is displayed.
Edit autoscale
To edit autoscale on a cluster, do the following:
In the Google Cloud console, go to the Private clouds page.
Select the private cloud you want to access.
On the private cloud details page, click the Clusters tab.
Click the name of the cluster.
On the cluster details page, click Edit.
Update the chosen fields and click Save.
Disable autoscale
To disable autoscale on a cluster, do the following:
In the Google Cloud console, go to the Private clouds page.
Select the private cloud you want to access.
On the private cloud details page, click the Clusters tab.
Click the name of the cluster.
On the cluster details page, click Edit.
Toggle Select to turn on autoscaling and click Save.