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-aks.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -417,23 +417,23 @@ Use the following procedure if your cluster is using managed identity authentica
417
417
418
418
1. Enable monitoring with the managed identity authentication option by using the steps in [Migrate to managed identity authentication](#migrate-to-managed-identity-authentication).
419
419
420
-
### Legacy authentication
420
+
### Without managed identity authentication
421
421
Use the following procedure if you're not using managed identity authentication. This requires a [private AKS cluster](../../aks/private-clusters.md).
422
422
423
-
1. Create a private AKS cluster.
423
+
1. Create a private AKS cluster following the guidance in [Create a private Azure Kubernetes Service cluster](../../aks/private-clusters.md).
424
+
425
+
2. Disable public Ingestion on your Log Analytics workspace.
426
+
427
+
Use the following command to disable public ingestion on an existing workspace.
424
428
425
429
```cli
426
-
az group create --resource-group private-cluster-test-rg --location westus2
3. Configure private link by following the instructions at [Configure your private link](../logs/private-link-configure.md). Set ingestion access to public and then set to private after the private endpoint is created but before monitoring is enabled. The private link resource region must be same as AKS cluster region.
@@ -442,7 +442,7 @@ Use the following procedure if you're not using managed identity authentication.
442
442
4. Enable monitoring for the AKS cluster.
443
443
444
444
```cli
445
-
az aks enable-addons -a monitoring --resource-group private-cluster-test-rg --name private-cluster-test-2 --workspace-resource-id "/subscriptions/<INSERT SUBSCRIPTION ID>/resourceGroups/private-cluster-test-rg/providers/Microsoft.OperationalInsights/workspaces/private-link-la-workspace"
445
+
az aks enable-addons -a monitoring --resource-group <AKSClusterResourceGorup> --name <AKSClusterName> --workspace-resource-id <workspace-resource-id>
0 commit comments