Skip to Content
Scaling Rules

Scaling Rules

UAS supports two types of rules, CPU load and health check. These can be used in combination.

CPU Load

Based on the average CPU load of the cluster, you can set a target value for what you consider the CPU load should be. UAS will help maintain the load around the target value without the need for you to manage the increase or decrease in the number of instances. UAS will automatically calculate the required change in the number of instances each time a rule is triggered to achieve the target load value for you.

Health Check

ULB’s VServer has an automatic scan to check whether nodes are healthy or not. UAS will automatically remove unhealthy nodes based on the scan status, keeping the nodes in the cluster available. For example, if a host is shut down and the health check rule is enabled, this machine will be released by UAS. If no other rules (like number, load) are triggered at the same time, UAS will not actively add new nodes to the ULB, and the current ULB is still considered a stable cluster.

Operating Guide

Preconditions

  1. Completion of the creation of the scaling group
  2. Completion of the configuration of the scaling group host

Setting Scaling Rules

  • Click on the scaling group details img
  • Check whether the host configuration is okay img
  • In the Rules section, you can see two scaling rules: CPU and Health Check img
  • Here, take the CPU rule as an example:
    • Click the Edit button next to the target value, set the average CPU load value according to your business situation, and select Enable. img