Skip to content

Commit ed1a4df

Browse files
Merge pull request #241825 from damendo/main
Polish & image updates
2 parents 0b37726 + 22de3f6 commit ed1a4df

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

articles/azure-monitor/containers/container-insights-authentication.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ Click on the relevant tab for instructions to enable Managed identity authentica
1818

1919
When creating a new cluster from the Azure portal: On the **Integrations** tab, first check the box for *Enable Container Logs*, then check the box for *Use managed identity*.
2020

21+
:::image type="content" source="./media/container-insights-authentication/aks-cluster-creation.png" alt-text="Screenshot that shows the checkbox to select." lightbox="media/container-insights-authentication/aks-cluster-creation.png":::
22+
2123
For existing clusters, you can switch to Managed Identity authentication from the *Monitor settings* panel: Navigate to your AKS cluster, scroll through the menu on the left till you see the **Monitoring** section, there click on the **Insights** tab. In the Insights tab, click on the *Monitor Settings* option and check the box for *Use managed identity*
2224

23-
If you don't see the *Use managed identity* option, you are using an SPN clusters. In that case, you must use command line tools to migrate. See other tabs for migration instructions and templates.
25+
:::image type="content" source="./media/container-insights-authentication/monitor-settings.png" alt-text="Screenshot that shows the settings panel." lightbox="media/container-insights-authentication/monitor-settings.png":::
26+
27+
If you don't see the *Use managed identity* option, you are using an SPN cluster. In that case, you must use command line tools to migrate. See other tabs for migration instructions and templates.
2428

2529
## [Azure CLI](#tab/cli)
2630

@@ -86,13 +90,13 @@ az account set --subscription "Subscription Name"
8690
az deployment group create --resource-group <ClusterResourceGroupName> --template-file ./existingClusterOnboarding.bicep --parameters ./existingClusterParam.json
8791
```
8892

89-
For new aks cluster:
93+
For new AKS cluster:
9094
Replace and use the managed cluster resources in this [guide](https://learn.microsoft.com/azure/aks/learn/quick-kubernetes-deploy-bicep?tabs=azure-cli)
9195

9296

9397
## [Terraform](#tab/terraform)
9498

95-
**Enable Monitoring with MSI without syslog for new aks cluster**
99+
**Enable Monitoring with MSI without syslog for new AKS cluster**
96100

97101
1. Download Terraform template for enable monitoring msi with syslog enabled:
98102
https://aka.ms/enable-monitoring-msi-terraform
@@ -109,7 +113,7 @@ https://aka.ms/enable-monitoring-msi-terraform
109113
5. Run `terraform plan -out main.tfplan` to initialize the Terraform deployment.
110114
6. Run `terraform apply main.tfplan` to apply the execution plan to your cloud infrastructure.
111115

112-
**Enable Monitoring with MSI with syslog for new aks cluster**
116+
**Enable Monitoring with MSI with syslog for new AKS cluster**
113117
1. Download Terraform template for enable monitoring msi with syslog enabled:
114118
https://aka.ms/enable-monitoring-msi-syslog-terraform
115119
2. Adjust the azurerm_kubernetes_cluster resource in main.tf based on what cluster settings you're going to have
@@ -125,7 +129,7 @@ https://aka.ms/enable-monitoring-msi-syslog-terraform
125129
5. Run `terraform plan -out main.tfplan` to initialize the Terraform deployment.
126130
6. Run `terraform apply main.tfplan` to apply the execution plan to your cloud infrastructure.
127131

128-
**Enable Monitoring with MSI for existing aks cluster:**
132+
**Enable Monitoring with MSI for existing AKS cluster:**
129133
1. Import the existing cluster resource first with this command: ` terraform import azurerm_kubernetes_cluster.k8s <aksResourceId>`
130134
2. Add the oms_agent add-on profile to the existing azurerm_kubernetes_cluster resource.
131135
```
203 KB
Loading
316 KB
Loading

0 commit comments

Comments
 (0)