Skip to content

Commit 601b03b

Browse files
committed
updated article for SecurePort support
1 parent 2be3f8d commit 601b03b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/insights/container-insights-hybrid-setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Configure Hybrid Kubernetes clusters with Azure Monitor for containers | Microsoft Docs
33
description: This article describes how you can configure Azure Monitor for containers to monitor Kubernetes clusters hosted on Azure Stack or other environment.
44
ms.topic: conceptual
5-
ms.date: 12/04/2019
5+
ms.date: 01/24/2020
66
---
77

88
# Configure hybrid Kubernetes clusters with Azure Monitor for containers
@@ -34,7 +34,7 @@ Before you start, make sure that you have the following:
3434
|*.blob.core.windows.net |Port 443 |
3535
|*.dc.services.visualstudio.com |Port 443 |
3636

37-
* The containerized agent requires `cAdvisor port: 10255` to be opened on all nodes in the cluster to collect performance metrics.
37+
* The containerized agent requires Kubelet’s `cAdvisor secure port: 10250` or `unsecure port :10255` to be opened on all nodes in the cluster to collect performance metrics. We recommend you configure `secure port: 10250` on the Kubelet’s cAdvisor if it’s not configured already.
3838

3939
* The containerized agent requires the following environmental variables to be specified on the container in order to communicate with the Kubernetes API service within the cluster to collect inventory data - `KUBERNETES_SERVICE_HOST` and `KUBERNETES_PORT_443_TCP_PORT`.
4040

@@ -285,12 +285,12 @@ If you encounter an error while attempting to enable monitoring for your hybrid
285285
* OmsAgent Health service is running
286286
* The Log Analytics workspace Id and key configured on the containerized agent match with the workspace the Insight is configured with.
287287
* Validate all the Linux worker nodes have `kubernetes.io/role=agent` label to schedule rs pod. If it doesn't exist, add it.
288-
* Validate `cAdvisor port: 10255` is opened on all nodes in the cluster.
288+
* Validate `cAdvisor secure port:10250` or `unsecure port: 10255` is opened on all nodes in the cluster.
289289
290290
To execute with Azure PowerShell, use the following commands in the folder that contains the script:
291291
292292
```powershell
293-
.\TroubleshootError_nonAzureK8s.ps1 - azureLogAnalyticsWorkspaceResourceId </subscriptions/<subscriptionId>/resourceGroups/<resourcegroupName>/providers/Microsoft.OperationalInsights/workspaces/<workspaceName> -kubeConfig <kubeConfigFile>
293+
.\TroubleshootError_nonAzureK8s.ps1 - azureLogAnalyticsWorkspaceResourceId </subscriptions/<subscriptionId>/resourceGroups/<resourcegroupName>/providers/Microsoft.OperationalInsights/workspaces/<workspaceName> -kubeConfig <kubeConfigFile> -clusterContextInKubeconfig <clusterContext>
294294
```
295295

296296
## Next steps

0 commit comments

Comments
 (0)