You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-enable-existing-clusters.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -412,19 +412,19 @@ AKS Clusters with service principal must first disable monitoring and then upgra
412
412
az aks show -g <resource-group-name> -n <cluster-name> | grep -i "logAnalyticsWorkspaceResourceID"
413
413
```
414
414
415
-
1. Disable monitoring with the following command:
415
+
2. Disable monitoring with the following command:
416
416
417
417
```cli
418
418
az aks disable-addons -a monitoring -g <resource-group-name> -n <cluster-name> --workspace-resource-id <workspace-resource-id>
419
419
```
420
420
421
-
2. Upgrade cluster to system managed identity with the following command:
421
+
3. Upgrade cluster to system managed identity with the following command:
422
422
423
423
```cli
424
424
az aks update -g <resource-group-name> -n <cluster-name> --enable-managed-identity --workspace-resource-id <workspace-resource-id>
425
425
```
426
426
427
-
3. Enable Monitoring addon with managed identity authentication option using Log Analytics workspace resource ID obtained in the first step:
427
+
4. Enable Monitoring addon with managed identity authentication option using Log Analytics workspace resource ID obtained in the first step:
428
428
429
429
```cli
430
430
az aks enable-addons -a monitoring --enable-msi-auth-for-monitoring -g <resource-group-name> -n <cluster-name> --workspace-resource-id <workspace-resource-id>
@@ -439,7 +439,7 @@ AKS Clusters with system assigned identity must first disable monitoring and the
439
439
az aks show -g <resource-group-name> -n <cluster-name> | grep -i "logAnalyticsWorkspaceResourceID"
440
440
```
441
441
442
-
1. Disable monitoring with the following command:
442
+
2. Disable monitoring with the following command:
443
443
444
444
```cli
445
445
az aks disable-addons -a monitoring -g <resource-group-name> -n <cluster-name>
0 commit comments