我的ACI部署到虚拟网络(目标子网委托给容器实例)在周末停止工作,并出现了奇怪的错误信息。
"所请求的资源在此刻'westeurope'位置不可用。请用不同的资源请求或在其他位置重试。请求的资源:'1'CPU'1.5'GB内存'Linux'操作系统虚拟网络"
这是部署脚本。
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 "..."
另外,手动部署也不工作--它允许我选择所有相应的选项,但在部署过程中却出现了上述错误信息。
根据文档中的 https:/docs.microsoft.comde-deazurecontainer-instancescontainer-instances-region-availability。 部署到虚拟网络的工作应该可以在西欧的ACI中正常工作。上周四它工作正常。你有什么想法吗?非常感谢。
编辑遗漏: --vnet
和 --subnet
选项使部署工作正常。但这不能成为解决方案,因为我需要在指定的子网内部署容器实例。
我建议联系Azure支持部门,这可能是暂时的容量不足。
另外,可以看看创建配额请求,在westeurope询问ACI配额。