我有一个 VM 规模集(用于 Service Fabric),并且我在 CPU 平均上应用了一些规则,但无法实现自动扩展。我什至尝试将 CPU 设为平均 1%,但仍然无法工作。这是标准:
时间聚合:平均 指标名称:CPU 百分比 运算符:大于 阈值:1 持续时间(分钟):5
操作:增加计数 实例数:1 冷却(分钟):5
规模集有 5 个虚拟机,限制为 7 个。
当然,平均百分比始终高于 1%。
干杯
最佳答案
在这种情况下,在使用 VMSS 对自动缩放进行故障排除时可以考虑以下事项:
- If you’re using a VM bigger than a single-vCPU VM size like Standard_A1 or D1, you’d need to run this load multiple times.
- A scale-out event only takes place when the average CPU across all the VMs in a scale set exceeds the threshold value, over the time interval defined in the autoscale rules.
- Are your scale-in and scale-out thresholds sufficiently different? ...
您可以从此 DOC 获取更多详细信息.
关于azure - VM 规模集未扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51928533/