gpt4 book ai didi

amazon-web-services - 如何创建具有 -infinity 的空下限的缩放步骤?

转载 作者:行者123 更新时间:2023-12-05 06:37:07 24 4
gpt4 key购买 nike

我正在阅读扩展策略 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.

为什么我会有一个“负无穷大”的下界,我该如何创建一个下界?当我编辑我的策略时,我看到它们的上限为“+无限”,但我从未见过“-无限”的下限。

最佳答案

我已经有一段时间没有尝试过了,但当您根据“小于”某物的时间来选择警报时,我相信它。删除 X 个实例。当它在缩放策略中有意义时会自动显示。

自动缩放非常灵活。但是,需要对 AutoScaling 进行一些试验才能使其正确且有用。您将了解您的应用的性能概况以及如何适应它,或修改应用以使其更好地扩展。

关于amazon-web-services - 如何创建具有 -infinity 的空下限的缩放步骤?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48361106/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com