根据内存扩展 Azure 容器应用程序。

huangapple go评论49阅读模式
英文:

Scale Azure container app based on memory

问题

根据内存消耗来扩展 Azure 容器应用程序是可能的吗?文档中提到可以通过自定义规则实现,但我只在自定义选项下看到了这个内容。

英文:

Is it possible to scale azure container app based on memory consuption?
Docs says it is possible via custom rule, but i only see this under custom option:
根据内存扩展 Azure 容器应用程序。

答案1

得分: 2

尝试类似以下示例的内容:

根据内存扩展 Azure 容器应用程序。

在这个示例中:

type: utilization 表示你想要根据请求量的使用百分比进行缩放。因此,

type: utilization
value: 70

表示要缩放,直到实例的平均利用率低于70%。

你也可以这样做:

type: averageValue
value: 1Gi

表示要缩放,直到实例的平均使用量低于1GB。

英文:

Try something like

根据内存扩展 Azure 容器应用程序。

in this example:

type: utilization means you want to scale based on usage percentage of the requested amount. so

type: utilization
value: 70

means to scale until the average utilization across instances is below 70%.

you can also do

type: averageValue
value: 1Gi

means to scale until the average usage across instances is below 1 gigabyte.

huangapple
  • 本文由 发表于 2023年8月8日 22:54:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/76860740.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定