Azure 容器实例限制值未按预期工作

Azure container instance limit value not working as expected

我相信上面的配置是正确的,但我在 powershell 中得到一个错误('MemoryInGB' 限制值必须大于或等于请求值。)如果我在限制中给出更大的值,那么我得到错误(容器 'xxx' 中的 'MemoryInGB' 限制 '1.5' 大于容器组 'zzz' 的总请求 '1.1'。) 让我知道配置是否错误。谢谢。

据我所知,目前只支持requests,limits设置为相同的值。

  1. For a container, the limit can't be less than what this same container asked for.
  2. The limit can't be more than the total resources requested by all containers in the container group.

所以我认为设置 limits 非常有用。只需设置 requests 块,如 tutorial 所示。