Azure container instances (ACI) deployment to virtual network fails (region: westeurope)

守給你的承諾、 提交于 2020-06-16 17:24:20

问题


my ACI deployment to a virtual network (target subnet is delegated to container instances) stopped working over the week-end with a strange error message:

"The requested resource is not available in the location 'westeurope' at this moment. Please retry with a different resource request or in another location. Resource requested: '1' CPU '1.5' GB memory 'Linux' OS virtual network"

Here is the deployment script:

az container create --resource-group $(resourceGroupName) --name $(containerName) --image $(image) --cpu 1 --memory 1 --registry-login-server $(registryServer) --registry-username $(registryUsername) --registry-password $(registryPassword) --ports $(port) --vnet $(vnet) --subnet $(subnet) --command-line "..."

Also the manual deployment does not work - it allows me to select all the options accordingly but faily during the deployment with the above error message.

According to the docs at https://docs.microsoft.com/de-de/azure/container-instances/container-instances-region-availability deployment to virtual networks should work fine for ACIs in westeurope. Last Thursday it worked fine. Do you have any ideas? Many thanks in advance.

Edit: leaving out the --vnet and --subnet options makes the deployment work. But this cannot be the solution as I need the container instance deployed within the specified subnet.


回答1:


I would recommend to reach out to Azure Support, this might be running out of capacity temporarily.

Also, have a look at creating Quota Request, asking for ACI quota in westeurope.



来源:https://stackoverflow.com/questions/62152664/azure-container-instances-aci-deployment-to-virtual-network-fails-region-wes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!