gpt4 book ai didi

azure - azure kubernetes 集群的垂直扩展

转载 作者:行者123 更新时间:2023-12-02 23:24:17 25 4
gpt4 key购买 nike

我无法垂直扩展我的 AKS 集群。目前,我的集群中有 3 个节点,2 个核心和 8 个 RAM,我正在尝试将其升级为 16 个代码和 64 个 RAM,我该怎么做?我尝试缩放 VM 规模集,在 Azure 门户上它显示它已缩放,但当我执行“kubectl getnodes -o Wide”时,它仍然显示旧版本。

任何线索都会有帮助。谢谢,阿布舍克

最佳答案

不支持垂直扩展或更改节点池虚拟机大小。您需要创建一个新的节点池并在新节点上调度您的 Pod。

https://github.com/Azure/AKS/issues/1556#issuecomment-615390245

this UX issues is due to how the VMSS is managed by AKS. Since AKS isa managed service, we don't support operations done outside of the AKSAPI to the infrastructure resources. In this example you are using theVMSS portal to resize, which uses VMSS APIs to resize the resource andas a result has unexpected changes.

AKS nodepools don't support resize in place, so the supported way todo this is to create a new nodepool with a new target and delete theprevious one. This needs to be done through the AKS portal UX. Thismaintains the goal state of the AKS node pool, as at the moment theportal is showing the VMSize AKS knows you have because that is whatwas originally requested.

关于azure - azure kubernetes 集群的垂直扩展,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67491883/

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