如何获取仅支持 AKS 托管的 VM SKU 列表

发布于 2025-01-15 04:22:57 字数 141 浏览 5 评论 0原文

我知道命令 az vm list-skus --location ,它为我们提供了特定位置中所有 VM SKU 的列表,但我希望过滤该列表,仅显示 VM AKS 托管支持的 SKU。

有人可以帮忙吗?这有点重要。谢谢你!

I am aware of the command, az vm list-skus --location , which gives us a list of all VM SKUs in a specific location but I would like to have that list filtered which shows only the VM SKUs supported by the AKS hosting.

Can someone please assist? It is kinda important. Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

因为看清所以看轻 2025-01-22 04:22:57

我认为没有快速的方法可以做到这一点。 2018 年的 GitHub 问题涉及“列出支持的节点虚拟机大小”,但是该问题尚未得到解决。

我在创建 AKS 集群时检查了自己是否可以完成选项卡补全功能。您可以尝试在 az aks create -l westeurope -s 之后按 Tab 键。

https: //github.com/Azure/AKS/issues/147

但好像还是不行。根据 微软文档

虚拟机大小受限

CPU 数量少于 2 个的 VM 大小不得与 AKS 一起使用。

AKS 群集中的每个节点都包含固定的计算量
vCPU 和内存等资源。如果 AKS 节点包含
计算资源不足,Pod 可能无法正常运行。到
确保所需的 kube-system pod 和您的应用程序可以
可靠调度,AKS 要求节点使用的 VM 大小至少为 2
CPU

I don't think there is a quick way to do this. There was a GitHub Issue from 2018 regarding "List supported node-vm-sizes" but it had not been resolved.

I checked myself while creating an AKS cluster whether tab completion will work or not. You can try hitting Tab after az aks create -l westeurope -s .

https://github.com/Azure/AKS/issues/147

But it seems that it still does not work. "Standard_A1" should not be used according to Microsoft documentation.

Restricted VM sizes

VM sizes with less than 2 CPUs may not be used with AKS.

Each node in an AKS cluster contains a fixed amount of compute
resources such as vCPU and memory. If an AKS node contains
insufficient compute resources, pods might fail to run correctly. To
ensure the required kube-system pods and your applications can be
reliably scheduled, AKS requires nodes use VM sizes with at least 2
CPUs
.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文