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/insights/container-insights-analyze.md
+28-17Lines changed: 28 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,23 +1,23 @@
1
1
---
2
-
title: Monitor AKS cluster performance with Azure Monitor for containers | Microsoft Docs
2
+
title: Monitor Kubernetes cluster performance with Azure Monitor for containers | Microsoft Docs
3
3
description: This article describes how you can view and analyze the performance and log data with Azure Monitor for containers.
4
4
ms.service: azure-monitor
5
5
ms.subservice:
6
6
ms.topic: conceptual
7
7
author: mgoedtel
8
8
ms.author: magoedte
9
-
ms.date: 09/17/2019
10
-
9
+
ms.date: 10/15/2019
11
10
---
12
11
13
-
# Understand AKS cluster performance with Azure Monitor for containers
14
-
With Azure Monitor for containers, you can use the performance charts and health status to monitor the workload of your Azure Kubernetes Service (AKS) clusters from two perspectives. You can monitor directly from an AKS cluster, or you can monitor all AKS clusters in a subscription from Azure Monitor. Viewing Azure Container Instances is also possible when you monitor a specific AKS cluster.
12
+
# Understand Kubernetes cluster performance with Azure Monitor for containers
13
+
14
+
With Azure Monitor for containers, you can use the performance charts and health status to monitor the workload of Kubernetes clusters hosted on Azure Kubernetes Service (AKS), Azure Stack, or other environment from two perspectives. You can monitor directly from the cluster, or you can view all clusters in a subscription from Azure Monitor. Viewing Azure Container Instances is also possible when monitoring a specific AKS cluster.
15
15
16
16
This article helps you understand the two perspectives, and how Azure Monitor helps you quickly assess, investigate, and resolve detected issues.
17
17
18
18
For information about how to enable Azure Monitor for containers, see [Onboard Azure Monitor for containers](container-insights-onboard.md).
19
19
20
-
Azure Monitor provides a multi-cluster view that shows the health status of all monitored AKS clusters running Linux and Windows Server 2019 deployed across resource groups in your subscriptions. It shows AKS clusters discovered that aren't monitored by the solution. You can immediately understand cluster health, and from here, you can drill down to the node and controller performance page or navigate to see performance charts for the cluster. For AKS clusters that were discovered and identified as unmonitored, you can enable monitoring for them at any time.
20
+
Azure Monitor provides a multi-cluster view that shows the health status of all monitored Kubernetes clusters running Linux and Windows Server 2019 deployed across resource groups in your subscriptions. It shows clusters discovered across all environments that aren't monitored by the solution. You can immediately understand cluster health, and from here, you can drill down to the node and controller performance page or navigate to see performance charts for the cluster. For AKS clusters that were discovered and identified as unmonitored, you can enable monitoring for them at any time.
21
21
22
22
The main differences in monitoring a Windows Server cluster with Azure Monitor for containers compared to a Linux cluster are the following:
23
23
@@ -33,13 +33,24 @@ Sign in to the [Azure portal](https://portal.azure.com).
33
33
34
34
## Multi-cluster view from Azure Monitor
35
35
36
-
To view the health status of all AKS clusters deployed, select **Monitor** from the left pane in the Azure portal. Under the **Insights** section, select **Containers**.
36
+
To view the health status of all Kubernetes clusters deployed, select **Monitor** from the left pane in the Azure portal. Under the **Insights** section, select **Containers**.
***All** - View all the Kubernetes clusters hosted in Azure, Azure Stack, and on-premises environments that are onboarded to Azure Monitor for containers
46
+
47
+
To view clusters from a specific environment, select it from the **Environments** pill on the top-left corner of the page.
On the **Monitored clusters** tab, you learn the following:
41
52
42
-
- How many clusters are in a Critical or unhealthy state, versus how many are Healthy or not reporting (referred to as an Unknown state).
53
+
- How many clusters are in a critical or unhealthy state, versus how many are healthy or not reporting (referred to as an Unknown state).
43
54
- Whether all of the [Azure Kubernetes Engine (AKS-engine)](https://github.com/Azure/aks-engine) deployments are healthy.
44
55
- How many nodes and user and system pods are deployed per cluster.
45
56
- How much disk space is available and if there's a capacity issue.
@@ -78,18 +89,21 @@ The following table provides a breakdown of the calculation that controls the he
78
89
||Critical |<60% |
79
90
||Unknown |If not reported in last 30 minutes |
80
91
81
-
From the list of clusters, you can drill down to the **Cluster** page by selecting the name of the cluster. Then go to the **Nodes** performance page by selecting the rollup of nodes in the **Nodes** column for that specific cluster. Or, you can drill down to the **Controllers** performance page by selecting the rollup of the **User pods** or **System pods** column.
92
+
From the list of clusters, you can drill down to the **Cluster** page by selecting the name of the cluster. Then go to the **Nodes** performance page by selecting the rollup of nodes in the **Nodes** column for that specific cluster. Or, you can drill down to the **Controllers** performance page by selecting the rollup of the **User pods** or **System pods** column.
82
93
83
-
## View performance directly from an AKS cluster
94
+
## View performance directly from a cluster
84
95
85
-
Access to Azure Monitor for containers is available directly from an AKS cluster by selecting **Insights** from the left pane. Information about your AKS cluster is organized into four perspectives:
96
+
Access to Azure Monitor for containers is available directly from an AKS cluster by selecting **Insights**> **Cluster**from the left pane, or when you selected a cluster from the multi-cluster view. Information about your cluster is organized into four perspectives:
86
97
87
98
- Cluster
88
99
- Nodes
89
100
- Controllers
90
101
- Containers
91
102
92
-
The default page opens when you select **Insights** > **Cluster**. Four line performance charts display key performance metrics of your cluster.
103
+
>[!NOTE]
104
+
>The experience described in the remainder of this article are also applicable for viewing performance and health status of your Kubernetes clusters hosted on Azure Stack or other environment when selected from the multi-cluster view.
105
+
106
+
The default page opens and displays four line performance charts that show key performance metrics of your cluster.
93
107
94
108

95
109
@@ -132,14 +146,10 @@ You can [split](../platform/metrics-charts.md#apply-splitting-to-a-chart) a metr
132
146
133
147
When you switch to the **Nodes**, **Controllers**, and **Containers** tabs, a property pane automatically displays on the right side of the page. It shows the properties of the item selected, which includes the labels you defined to organize Kubernetes objects. When a Linux node is selected, the **Local Disk Capacity** section also shows the available disk space and the percentage used for each disk presented to the node. Select the **>>** link in the pane to view or hide the pane.
As you expand the objects in the hierarchy, the properties pane updates based on the object selected. From the pane, you also can view Kubernetes events with predefined log searches by selecting the **View Kubernetes event logs** link at the top of the pane. For more information about how to view Kubernetes log data, see [Search logs to analyze data](container-insights-log-search.md). While you review cluster resources, you can see container logs and events in real time. For more information about this feature and the configuration required to grant and control access, see [View logs in real time with Azure Monitor for containers](container-insights-live-logs.md).
149
+
As you expand the objects in the hierarchy, the properties pane updates based on the object selected. From the pane, you also can view Kubernetes container logs (stdout/stderror), events, and pod metrics by selecting the **View live data (preview)** link at the top of the pane. For more information about the configuration required to grant and control access to view this data, see [Setup the Live Data (preview)](container-insights-livedata-setup.md). While you review cluster resources, you can see this data from the container in real-time. For more information about this feature, see [How to view Kubernetes logs, events, and pod metrics in real time](container-insights-livedata-overview.md). To view Kubernetes log data stored in your workspace based on pre-defined log searches, select **View container logs** from the **View in analytics** drop-down list. For additional information about this topic, see [Search logs to analyze data](container-insights-log-search.md#search-logs-to-analyze-data).
138
150
139
151
Use the **+ Add Filter** option at the top of the page to filter the results for the view by **Service**, **Node**, **Namespace**, or **Node Pool**. After you select the filter scope, select one of the values shown in the **Select value(s)** field. After the filter is configured, it's applied globally while viewing any perspective of the AKS cluster. The formula only supports the equal sign. You can add additional filters on top of the first one to further narrow your results. For example, if you specify a filter by **Node**, you can only select **Service** or **Namespace** for the second filter.
140
152
141
-

142
-
143
153
Specifying a filter in one tab continues to be applied when you select another. It's deleted after you select the **x** symbol next to the specified filter.
144
154
145
155
Switch to the **Nodes** tab and the row hierarchy follows the Kubernetes object model, which starts with a node in your cluster. Expand the node to view one or more pods running on the node. If more than one container is grouped to a pod, they're displayed as the last row in the hierarchy. You also can view how many non-pod-related workloads are running on the host if the host has processor or memory pressure.
@@ -303,4 +313,5 @@ You access these workbooks by selecting each one from the **View Workbooks** dro
303
313
## Next steps
304
314
305
315
- Review [Create performance alerts with Azure Monitor for containers](container-insights-alerts.md) to learn how to create alerts for high CPU and memory utilization to support your DevOps or operational processes and procedures.
316
+
306
317
- View [log query examples](container-insights-log-search.md#search-logs-to-analyze-data) to see predefined queries and examples to evaluate or customize to alert, visualize, or analyze your clusters.
Copy file name to clipboardExpand all lines: articles/azure-monitor/insights/container-insights-enable-existing-clusters.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ provisioningState : Succeeded
43
43
44
44
If you would rather integrate with an existing workspace, perform the following steps to first identify the full resource ID of your Log Analytics workspace required for the `--workspace-resource-id` parameter, and then run the command to enable the monitoring add-on against the specified workspace.
45
45
46
-
1. List all the subscriptions which you have access using the following command:
46
+
1. List all the subscriptions that you have access to using the following command:
47
47
48
48
```azurecli
49
49
az account list --all -o table
@@ -367,4 +367,6 @@ After a few minutes, the command completes and returns JSON-formatted informatio
367
367
368
368
* If you experience issues while attempting to onboard the solution, review the [troubleshooting guide](container-insights-troubleshoot.md)
369
369
370
-
* With monitoring enabled to capture health metrics for both the AKS cluster nodes and pods, these health metrics are available in the Azure portal. To learn how to use Azure Monitor for containers, see [View Azure Kubernetes Service health](container-insights-analyze.md).
370
+
* With monitoring enabled to collect health and resource utilization of your AKS cluster and workloads running on them, learn [how to use](container-insights-analyze.md) Azure Monitor for containers.
Copy file name to clipboardExpand all lines: articles/azure-monitor/insights/container-insights-enable-new-cluster.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,4 +117,4 @@ After a few minutes, the command completes and returns JSON-formatted informatio
117
117
118
118
* If you experience issues while attempting to onboard the solution, review the [troubleshooting guide](container-insights-troubleshoot.md)
119
119
120
-
* With monitoring enabled to capture health metrics for both the AKS cluster nodes and pods, these health metrics are available in the Azure portal. To learn how to use Azure Monitor for containers, see [View Azure Kubernetes Service health](container-insights-analyze.md).
120
+
* With monitoring enabled to collect health and resource utilization of your AKS cluster and workloads running on them, learn [how to use](container-insights-analyze.md) Azure Monitor for containers.
Copy file name to clipboardExpand all lines: articles/azure-monitor/insights/container-insights-faq.md
+8-10Lines changed: 8 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,17 @@ ms.subservice:
6
6
ms.topic: conceptual
7
7
author: mgoedtel
8
8
ms.author: magoedte
9
-
ms.date: 08/14/2019
10
-
9
+
ms.date: 10/15/2019
11
10
---
12
11
13
12
# Azure Monitor for containers Frequently Asked Questions
14
13
15
14
This Microsoft FAQ is a list of commonly asked questions about Azure Monitor for containers. If you have any additional questions about the solution, go to the [discussion forum](https://feedback.azure.com/forums/34192--general-feedback) and post your questions. When a question is frequently asked, we add it to this article so that it can be found quickly and easily.
16
15
16
+
## Can I view metrics collected in Grafana?
17
+
18
+
Azure Monitor for containers supports viewing metrics stored in your Log Analytics workspace in Grafana dashboards. We have provided a template that you can download from Grafana's [dashboard repository](https://grafana.com/grafana/dashboards?dataSource=grafana-azure-monitor-datasource&category=docker) to get you started and reference to help you learn how to query additional data from your monitored clusters to visualize in custom Grafana dashbaords.
19
+
17
20
## Can I monitor my AKS-engine cluster with Azure Monitor for containers?
18
21
19
22
Azure Monitor for containers supports monitoring container workloads deployed to AKS-engine (formerly known as ACS-engine) cluster(s) hosted on Azure. For further details and an overview of steps required to enable monitoring for this scenario, see [Using Azure Monitor for containers for AKS-engine](https://github.com/microsoft/OMS-docker/tree/aks-engine).
@@ -68,20 +71,15 @@ For a detailed look at the issue, review the following [GitHub link](https://git
68
71
69
72
## How do I resolve Azure AD errors when I enable live logs?
70
73
71
-
You may see the following error: **The reply url specified in the request does not match the reply urls configured for the application: '<application ID\>'**. The solution to solve it can be found in the article [How to view container logs real time with Azure Monitor for containers](container-insights-live-logs.md#configure-aks-with-azure-active-directory).
74
+
You may see the following error: **The reply url specified in the request does not match the reply urls configured for the application: '<application ID\>'**. The solution to solve it can be found in the article [How to view container data in real time with Azure Monitor for containers](container-insights-livedata-setup.md#configure-ad-integrated-authentication).
72
75
73
76
## Why can't I upgrade cluster after onboarding?
74
77
75
78
If after you enable Azure Monitor for containers for an AKS cluster, you delete the Log Analytics workspace the cluster was sending its data to, when attempting to upgrade the cluster it will fail. To work around this, you will have to disable monitoring and then re-enable it referencing a different valid workspace in your subscription. When you try to perform the cluster upgrade again, it should process and complete successfully.
76
79
77
80
## Which ports and domains do I need to open/whitelist for the agent?
78
-
-*.ods.opinsights.azure.com 443
79
-
-*.oms.opinsights.azure.com 443
80
-
-*.blob.core.windows.net 443
81
-
- dc.services.visualstudio.com 443
82
-
-*.microsoftonline.com 443
83
-
-*.monitoring.azure.com 443
84
-
- login.microsoftonline.com 443
81
+
82
+
See the [Network firewall requirements](container-insights-onboard.md#network-firewall-requirements) for the proxy and firewall configuration information required for the containerized agent with Azure, Azure US Government, and Azure China clouds.
0 commit comments