Azure / AKS

Azure Kubernetes Service
https://azure.github.io/AKS/
1.97k stars 306 forks source link

[BUG] Unable Link Azure Monitor and Grafana to the AKS cluster #4567

Open mitzenjeremywoo opened 1 month ago

mitzenjeremywoo commented 1 month ago

Describe the bug

I am unable to link Link Azure Monitor and Grafana to the AKS cluster using the following commands

az aks update --name $CLUSTER_NAME --resource-group $RESOURCE_GROUP --enable-azure-monitor-metrics --azure-monitor-workspace-resource-id $azuremonitorId --grafana-resource-id $grafanaId

az am extension has been installed.

When i run the following command, i got the error

unrecognized arguments: command requires the extension amg. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n): xxxxxxx/resourceGroups/netmonrg/providers/Microsoft.Dashboard/grafana/myGrafana

To Reproduce Follow the microsoft guide here https://learn.microsoft.com/en-us/azure/aks/advanced-network-observability-cli?tabs=non-cilium

Under the section Link Azure Monitor and Grafana to the AKS cluster, when you run the command above, you hit the error.

Expected behavior

Expect the command to run successfully and able to link azure monitor, grafana to AKS cluster.

Screenshots

grafana-monitor-link

Environment (please complete the following information):

Additional context Add any other context about the problem here.

microsoft-github-policy-service[bot] commented 2 days ago

Action required from @aritraghosh, @julia-yin, @AllenWen-at-Azure