The Cluster Auto Scaling feature allows CCE to automatically scale out a cluster (adding worker nodes to a cluster) according to custom policies when workloads cannot be scheduled into the cluster due to insufficient cluster resources.
Parameter |
Description |
---|---|
Cooldown Period |
Interval between consecutive scale-out operations, in the unit of second. The cooldown period ensures that a scale-out operation is initiated only when previous scaling operation is finished and the system is running stably. The value ranges from 60 to 3600, in seconds. The default value is 900. If the cooling interval is less than 900 seconds (15 minutes), the auto scaling may not work well, because creating a node may take 2 to 10 minutes. |
Maximum Nodes |
Maximum number of nodes to which the cluster can scale out. 1 ≤ Maximum Nodes < cluster node quota NOTE:
The cluster node quota depends on the cluster size (maximum number of nodes that can be managed by a cluster) and the node quota of the account. The cluster node quota used here is the smaller of the two. |
Node Configuration |
If scale-out is required after the scale-out policy is executed, the system creates a node.
|
Parameter |
Description |
---|---|
*Metric |
Select Allocated CPU or Allocated Memory. |
*Trigger Condition |
Set a condition for triggering a scale-out policy, that is, when the average CPU or memory allocation value is greater than or less than a specified percentage. |
*Monitoring Window |
Size of the data aggregation window. Select a value from the drop-down list. If you select 15min, the selected metric is measured every 15 minutes. |
*Threshold Crossings |
Number of consecutive times that the threshold is reached within the monitoring window. The calculation cycle is fixed at one minute. If you set this parameter to 3, the configured action will be triggered when the metrics meet the specified threshold for three consecutive times. |
*Action |
Action executed after a policy is triggered. |
After the auto scale-out is completed, choose
in the navigation pane. On the node list, you can view the worker nodes added during cluster auto scaling.