我需要在AKS中添加一个B2s节点池。我得到了折叠式错误:
Error: Code="VMSizeIsNotPermittedToEnableAcceleratedNetworkingForVmss" Message="Virtual machine at index 0 of VM scale set /removed id of VMSS/ has size Standard_B2s, which is not compatible with enabling accelerated networking in the network profile on the scale set. Allowed sizes: Standard_D2_v4, Standard_D2s_v4, Standard_D2ds_v4, etc.我确信在此之前是允许的,因为我以前已经创建了B2s和B2ms Windows节点池。我知道这与加速网络有关,但我如何影响尚未被创建并由Azure控制的VMSS的加速网络呢?
发布于 2022-03-17 07:38:28
Code="VMSizeIsNotPermittedToEnableAcceleratedNetworkingForVmss“Message=”虚拟机位于VMSS/ profile Standard_B2s的/removed id索引0处,与在缩放集上启用网络配置文件中的加速网络不兼容。允许大小: Standard_D2_v4、Standard_D2s_v4、Standard_D2ds_v4等。
从上面的错误我们可以理解,VMSS/ has size Standard_B2s is not NotPermitted ToEnableAcceleratedNetworking.
您可以使用这个Azure检查相同的内容。虚拟机SKU支持加速网络的列表可以通过下面的Azure 命令直接查询。
az vm list-skus \
--location westus \
--all true \
--resource-type virtualMachines \
--query '[].{size:size, name:name, acceleratedNetworkingEnabled: capabilities[?name==`AcceleratedNetworkingEnabled`].value | [0]}' \
--output table

建议您选择推荐的节点池。
您可以参考这个获得相同的信息。
发布于 2022-03-17 09:06:28
我已经测试过如何在我的环境中使用Linux节点池添加B2s,它是成功的。

如果您的实例支持,那么应该通过加速网络来部署它。如果没有,则应该在部署时不使用。如果可以的话,请开一张支持票。你可以尝试一下这些步骤。
<代码>F 210
我分享了下面的链接。不是一回事,但它也能给出一个想法。
https://stackoverflow.com/questions/71500043
复制相似问题