An administrator is configuring autoscaling for an Azure Virtual Machine Scale Set named `vmss-payments` that uses Flexible orchestration. The scale set currently has instances and uses a Rolling upgrade policy. You configure a scale-out rule to increase the instance count by when the average CPU percentage is greater than for minutes. You need to configure a scale-in rule that decreases the instance count by when the average CPU percentage is less than a threshold value for minutes. To prevent instance thrashing, what is the maximum value that you should set for the scale-in CPU threshold?
- Cevap
- B
- C
- D
Cevap
The correct threshold to configure is .
To prevent thrashing, the scale-in threshold must be lower than the expected CPU utilization after a scale-out occurs. With instances running at just over , the total workload is to . When instances are added, the load is distributed across instances, reducing the average CPU usage to approximately to . Setting the scale-in threshold to ensures that the scale-in rule does not trigger immediately after scaling out.
Adım Adım Çözüm
Anahtar Kavram
Autoscale thrashing prevention by keeping scale-in thresholds below the post-scale-out CPU utilization level.