如何创建具有 -infinity 的空下限的缩放步骤?
How do I create a scaling step with a null lower bound of -infinity?
我正在阅读扩展策略doc
There are a few rules for the step adjustments for your policy:
The ranges of your step adjustments can't overlap or have a gap.
Only one step adjustment can have a null lower bound (negative
infinity). If one step adjustment has a negative lower bound, then
there must be a step adjustment with a null lower bound.
Only one step adjustment can have a null upper bound (positive
infinity). If one step adjustment has a positive upper bound, then
there must be a step adjustment with a null upper bound.
The upper and lower bound can't be null in the same step adjustment.
If the metric value is above the breach threshold, the lower bound is
inclusive and the upper bound is exclusive. If the metric value is
below the breach threshold, the lower bound is exclusive and the upper
bound is inclusive.
为什么我会有 "negative infinity" 的下限以及如何创建下限?当我编辑我的策略时,我看到它们的上限为“+无限”,但我从未见过“-无限”的下限。
我已经有一段时间没试过了,但我相信当你根据'less than'什么时候选择闹钟时。删除 X 个实例。当它在缩放策略中有意义时会自动显示。
自动缩放非常灵活。但是,需要对 AutoScaling 进行一些试验才能使其正确且有用。您将了解您的应用的性能概况以及如何适应它,或修改应用以使其更好地扩展。
我正在阅读扩展策略doc
There are a few rules for the step adjustments for your policy:
The ranges of your step adjustments can't overlap or have a gap.
Only one step adjustment can have a null lower bound (negative infinity). If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.
Only one step adjustment can have a null upper bound (positive infinity). If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.
The upper and lower bound can't be null in the same step adjustment.
If the metric value is above the breach threshold, the lower bound is inclusive and the upper bound is exclusive. If the metric value is below the breach threshold, the lower bound is exclusive and the upper bound is inclusive.
为什么我会有 "negative infinity" 的下限以及如何创建下限?当我编辑我的策略时,我看到它们的上限为“+无限”,但我从未见过“-无限”的下限。
我已经有一段时间没试过了,但我相信当你根据'less than'什么时候选择闹钟时。删除 X 个实例。当它在缩放策略中有意义时会自动显示。
自动缩放非常灵活。但是,需要对 AutoScaling 进行一些试验才能使其正确且有用。您将了解您的应用的性能概况以及如何适应它,或修改应用以使其更好地扩展。