Skip to content

Commit efb3df5

Browse files
authored
Merge pull request #206382 from bwren/ci-ama-2
Container insights AMA final fixes
2 parents 06b45f5 + a3d6f76 commit efb3df5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

articles/aks/learn/quick-kubernetes-deploy-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ The following output example resembles successful creation of the resource group
8181

8282
## Create AKS cluster
8383

84-
Create an AKS cluster using the [az aks create][az-aks-create] command with the *--enable-addons monitoring* parameter to enable [Container insights][azure-monitor-containers]. The following example creates a cluster named *myAKSCluster* with one node and enables a system-assigned managed identity:
84+
Create an AKS cluster using the [az aks create][az-aks-create] command with the `--enable-addons monitoring` and `--enable-msi-auth-for-monitoring` parameter to enable [Azure Monitor Container insights][azure-monitor-containers] with managed identity authentication (preview). The following example creates a cluster named *myAKSCluster* with one node and enables a system-assigned managed identity:
8585

8686
```azurecli-interactive
87-
az aks create -g myResourceGroup -n myAKSCluster --enable-managed-identity --node-count 1 --enable-addons monitoring
87+
az aks create -g myResourceGroup -n myAKSCluster --enable-managed-identity --node-count 1 --enable-addons monitoring --enable-msi-auth-for-monitoring --generate-ssh-keys
8888
```
8989

9090
After a few minutes, the command completes and returns JSON-formatted information about the cluster.

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ If you're connecting an existing AKS cluster to an Azure Log Analytics workspace
1414

1515

1616
## [CLI](#tab/azure-cli)
17+
18+
> [!NOTE]
19+
> Azure CLI version 2.39.0 or higher required for managed identity authentication.
20+
1721
The following step enables monitoring of your AKS cluster using Azure CLI. In this example, you are not required to pre-create or specify an existing workspace. This command simplifies the process for you by creating a default workspace in the default resource group of the AKS cluster subscription if one does not already exist in the region. The default workspace created resembles the format of *DefaultWorkspace-\<GUID>-\<Region>*.
1822

1923
```azurecli
@@ -400,7 +404,7 @@ After a few minutes, the command completes and returns JSON-formatted informatio
400404
## Migrate to managed identity authentication
401405

402406
### Existing clusters with service principal
403-
AKS Clusters with service principal must first disable monitoring and then upgrade to managed identity. Only Azure public cloud is currently supported for this migration.
407+
AKS Clusters with service principal must first disable monitoring and then upgrade to managed identity. Only Azure public cloud, Azure China cloud, and Azure Government cloud are currently supported for this migration.
404408

405409

406410
1. Disable monitoring with the following command:

0 commit comments

Comments
 (0)