gpt4 book ai didi

azure - 带有 Kubernetes 和 Helm 的 Microsoft Azure "The maximum number of data disks allowed to be attached to a VM of this size is 4."

转载 作者:行者123 更新时间:2023-12-02 06:09:50 25 4
gpt4 key购买 nike

我正在尝试运行不同的 Helm chart ,但一直遇到此错误。对我来说,运行 3-4 个更便宜的节点比运行 1 或 2 个可以连接更多磁盘的非常昂贵的节点更具成本效益。

是否有一种方法可以配置 kubernetes 或 helm 来设置磁盘连接限制或设置一个部署与特定节点的关联性?

令人非常沮丧的是,所有部署都尝试附加到一个节点,然后耗尽了磁盘附加配额。

这是错误:

Service returned an error. Status=409 Code="OperationNotAllowed" Message="The maximum number of data disks allowed to be attached to a VM of this size is 4."

最佳答案

Is there a way to configure kubernetes or helm to have a disk attach limit or to set the affinity of one deployment to a particular node?

目前,ACS k8s 基于 Azure 托管磁盘或 Blob 磁盘配置 PVC,因此限制是 VM 磁盘的数量。

目前,Azure 不支持更改 VM 磁盘数量的限制。关于虚拟机大小和最大数据磁盘,我们可以在这里找到限制: enter image description here

更多关于限制的信息,请引用这个link .

顺便说一句,磁盘最大容量是2TB,也许我们可以将其扩展到2TB。

关于azure - 带有 Kubernetes 和 Helm 的 Microsoft Azure "The maximum number of data disks allowed to be attached to a VM of this size is 4.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45783840/

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