当我们通过二头肌部署我们的环境时,例如 AKS 和应用程序网关,我们有时会在 AKS 配置期间收到此错误:
{
"status": "Failed",
"error": {
"code": "ResourceNotFound",
"message": "The Resource 'Microsoft.Network/applicationGateways/xxx-agw' under resource group 'xxx-rg' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"
}
}
我们在与 AKS 相同的二头肌文件中创建应用程序网关,此处在 AKS 的二头肌代码中引用了应用程序网关:
addonProfiles: {
ingressApplicationGateway: {
enabled: true
config: {
applicationGatewayId: applicationGateway.id
effectiveApplicationGatewayId: applicationGateway.id
}
}
当我们再次运行二头肌文件时,一切正常。那么这是时间问题还是我错过了什么?
谢谢,彼得