AKS在Azure上创建需要很长时间才能收到以下错误消息
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"ResourceDeploymentFailure","message":"The resource provision operation did not complete within the allowed timeout period."}]}.
无论何时尝试部署AKS群集,无论我是否通过Terraform,Azure Portal或Azure CLI部署它,我都会收到此错误消息。
我使用的配置是:
az aks create --name Aks-moduleTf --max-count 1 --min-count 1 --network-plugin azure --vnet-subnet-id /subscriptions/<SUBID>/resourceGroups/MyResources/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/Mysubnet --node-count 1 --node-vm-size Standard_B2s --dns-service-ip X.X.X.X --resource-group MyResources --generate-ssh-keys --enable-cluster-autoscaler --service-cidr X.X.X.X/X
谢谢您的帮助。
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"ResourceDeploymentFailure","message":"The resource provision operation did not complete within the allowed timeout period."}]}.
I get this error message whenever I try to deploy my AKS Cluster, no matter if I deploy it through Terraform, The azure portal or Azure CLI.
The config I use is :
az aks create --name Aks-moduleTf --max-count 1 --min-count 1 --network-plugin azure --vnet-subnet-id /subscriptions/<SUBID>/resourceGroups/MyResources/providers/Microsoft.Network/virtualNetworks/MyVnet/subnets/Mysubnet --node-count 1 --node-vm-size Standard_B2s --dns-service-ip X.X.X.X --resource-group MyResources --generate-ssh-keys --enable-cluster-autoscaler --service-cidr X.X.X.X/X
Thank you for your help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您在子网的NSGS [ACL]中遇到的错误问题,这些错误将流量限制在流向Azure Management网络的流量使AKS创建工作。
这些NSG与您正在尝试为AK创建AK的VNET中的子网相关联。
AZ CLI代码
解决方案:如果您正在使用现有
vnet/subnet
创建Azure Resoruce。您需要禁用子网NSG的(选择无)。/I.SSTATIC.NET/DDRVT.PNG“ ALT =“在此处输入图像说明”>
参考:您可以检查此
The Error you are getting beacuse issue with the NSGS [acls] of subnet that are restricting the traffic flow to the Azure management network to let the AKS creation work.
These NSGs are associated with the Subnet in Vnet that you are trying to create an AKS for.
Az CLI code
Solution : If you are creating Azure resoruce with existing
vnet/subnet
. you need to disable(Select None) for the NSG of subnet.Reference : You can check this link one of the user faced this issue and went to Microsoft Support team and found the issue is with NSG