未能保存 Kubernetes 服务“test111”。错误: Unable to get log analytics workspace info. Resource ID: defaultresourcegroup-ea/providers/microsoft.operationalinsights/workspaces/defaultworkspace-d72c439e-09f8-45f7-a25e-436bec81b6b7-ea. Details: autorest/azure: Service returned an error. Status=404 Code=”ResourceNotFound” Message=”The Resource ‘Microsoft.OperationalInsights/workspaces/defaultworkspace-d72c439e-09f8-45f7-a25e-436bec81b6b7-ea’ under resource group ‘defaultresourcegroup-ea’ was not found.”. For more details about how to create and use log analytics workspace, please refer to: https://aka.ms/new-log-analytics
azure aks缩放失败,报错信息如下:
未能保存 Kubernetes 服务“test111”。错误: Unable to get log analytics workspace info. Resource ID: defaultresourcegroup-ea/providers/microsoft.operationalinsights/workspaces/defaultworkspace-d72c439e-09f8-45f7-a25e-436bec81b6b7-ea. Details: autorest/azure: Service returned an error. Status=404 Code="ResourceNotFound" Message="The Resource 'Microsoft.OperationalInsights/workspaces/defaultworkspace-d72c439e-09f8-45f7-a25e-436bec81b6b7-ea' under resource group 'defaultresourcegroup-ea' was not found.". For more details about how to create and use log analytics workspace, please refer to: https://aka.ms/new-log-analytics
排查到日志分析服务被删除,需要在默认资源区下新建同名的分析工作区
然后关闭监控功能:
az aks disable-addons -a monitoring -n test111 -g test111