Skip to content

Commit 221fa11

Browse files
authored
Update container-insights-enable-existing-clusters.md
1 parent 465e868 commit 221fa11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/containers/container-insights-enable-existing-clusters.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -412,19 +412,19 @@ AKS Clusters with service principal must first disable monitoring and then upgra
412412
az aks show -g <resource-group-name> -n <cluster-name> | grep -i "logAnalyticsWorkspaceResourceID"
413413
```
414414

415-
1. Disable monitoring with the following command:
415+
2. Disable monitoring with the following command:
416416

417417
```cli
418418
az aks disable-addons -a monitoring -g <resource-group-name> -n <cluster-name> --workspace-resource-id <workspace-resource-id>
419419
```
420420

421-
2. Upgrade cluster to system managed identity with the following command:
421+
3. Upgrade cluster to system managed identity with the following command:
422422

423423
```cli
424424
az aks update -g <resource-group-name> -n <cluster-name> --enable-managed-identity --workspace-resource-id <workspace-resource-id>
425425
```
426426

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:
428428

429429
```cli
430430
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
439439
az aks show -g <resource-group-name> -n <cluster-name> | grep -i "logAnalyticsWorkspaceResourceID"
440440
```
441441

442-
1. Disable monitoring with the following command:
442+
2. Disable monitoring with the following command:
443443

444444
```cli
445445
az aks disable-addons -a monitoring -g <resource-group-name> -n <cluster-name>

0 commit comments

Comments
 (0)