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
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
Environment (please complete the following information):
Additional context Add any other context about the problem here.