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-hybrid-setup.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Configure Hybrid Kubernetes clusters with Container insights | Microsoft Docs
3
3
description: This article describes how you can configure Container insights to monitor Kubernetes clusters hosted on Azure Stack or other environment.
4
4
ms.topic: conceptual
5
-
ms.date: 06/30/2020
6
-
ms.reviewer: aul
5
+
ms.date: 08/29/2022
6
+
ms.reviewer: viviandiec
7
7
---
8
8
9
9
# Configure hybrid Kubernetes clusters with Container insights
@@ -317,7 +317,7 @@ Supported API definitions for the Azure Stack Hub cluster can be found in this e
317
317
318
318
## Configure agent data collection
319
319
320
-
Staring with chart version 1.0.0, the agent data collection settings are controlled from the ConfigMap. Refer to documentation about agent data collection settings [here](container-insights-agent-config.md).
320
+
Starting with chart version 1.0.0, the agent data collection settings are controlled from the ConfigMap. Refer to documentation about agent data collection settings [here](container-insights-agent-config.md).
321
321
322
322
After you have successfully deployed the chart, you can review the data for your hybrid Kubernetes cluster in Container insights from the Azure portal.
323
323
@@ -366,4 +366,4 @@ To execute with Azure PowerShell, use the following commands in the folder that
366
366
367
367
## Next steps
368
368
369
-
With monitoring enabled to collect health and resource utilization of your hybrid Kubernetes cluster and workloads running on them, learn [how to use](container-insights-analyze.md) Container insights.
369
+
With monitoring enabled to collect health and resource utilization of your hybrid Kubernetes cluster and workloads running on them, learn [how to use](container-insights-analyze.md) Container insights.
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-log-alerts.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Log alerts from Container insights | Microsoft Docs
3
3
description: This article describes how to create custom log alerts for memory and CPU utilization from Container insights.
4
4
ms.topic: conceptual
5
-
ms.date: 07/29/2021
6
-
ms.reviewer: aul
5
+
ms.date: 08/29/2022
6
+
ms.reviewer: viviandiec
7
7
8
8
---
9
9
@@ -37,7 +37,7 @@ To create resource-centric alerts at scale for a subscription or resource group,
37
37
38
38
You may also decide not to split when you want a condition on multiple resources in the scope. For example, if you want to create an alert if at least five machines in the resource group scope have CPU usage over 80%.
39
39
40
-
:::image type="content" source="../vm/media/monitor-virtual-machines/log-alert-rule.png" alt-text="Screenshot of a new log alert rule with split by dimensions.":::
40
+
:::image type="content" source="../vm/media/monitor-virtual-machines/log-alert-rule.png" alt-text="Screenshot of a new log alert rule with split by dimensions." lightbox="../vm/media/monitor-virtual-machines/log-alert-rule.png":::
41
41
42
42
You might want to see a list of the alerts by affected computer. You can use a custom workbook that uses a custom [Resource Graph](../../governance/resource-graph/overview.md) to provide this view. Use the following query to display alerts, and use the data source **Azure Resource Graph** in the workbook.
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-log-query.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: Query logs from Container insights
3
3
description: Container insights collects metrics and log data, and this article describes the records and includes sample queries.
4
4
ms.topic: conceptual
5
-
ms.date: 07/19/2021
6
-
ms.reviewer: aul
5
+
ms.date: 08/29/2022
6
+
ms.reviewer: viviandiec
7
7
8
8
---
9
9
@@ -309,7 +309,7 @@ KubeMonAgentEvents | where Level != "Info"
309
309
310
310
The output shows results similar to the following example:
311
311
312
-

312
+
:::image type="content" source="./media/container-insights-log-query/log-query-example-kubeagent-events.png" alt-text="Screenshot that shows log query results of informational events from an agent." lightbox="media/container-insights-log-query/log-query-example-kubeagent-events.png":::
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-manage-agent.md
+5-25Lines changed: 5 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,8 @@
2
2
title: How to manage the Container insights agent | Microsoft Docs
3
3
description: This article describes managing the most common maintenance tasks with the containerized Log Analytics agent used by Container insights.
4
4
ms.topic: conceptual
5
-
ms.date: 07/21/2020
6
-
ms.reviewer: aul
5
+
ms.date: 08/29/2022
6
+
ms.reviewer: viviandiec
7
7
---
8
8
9
9
# How to manage the Container insights agent
@@ -12,9 +12,9 @@ Container insights uses a containerized version of the Log Analytics agent for L
12
12
13
13
## How to upgrade the Container insights agent
14
14
15
-
Container insights uses a containerized version of the Log Analytics agent for Linux. When a new version of the agent is released, the agent is automatically upgraded on your managed Kubernetes clusters hosted on Azure Kubernetes Service (AKS) and Azure Red Hat OpenShift version 3.x. For a [hybrid Kubernetes cluster](container-insights-hybrid-setup.md) and Azure Red Hat OpenShift version 4.x, the agent is not managed, and you need to manually upgrade the agent.
15
+
Container insights uses a containerized version of the Log Analytics agent for Linux. When a new version of the agent is released, the agent is automatically upgraded on your managed Kubernetes clusters hosted on Azure Kubernetes Service (AKS). For a [hybrid Kubernetes cluster](container-insights-hybrid-setup.md), the agent is not managed, and you need to manually upgrade the agent.
16
16
17
-
If the agent upgrade fails for a cluster hosted on AKS or Azure Red Hat OpenShift version 3.x, this article also describes the process to manually upgrade the agent. To follow the versions released, see [agent release announcements](https://github.com/microsoft/docker-provider/tree/ci_feature_prod).
17
+
If the agent upgrade fails for a cluster hosted on AKS, this article also describes the process to manually upgrade the agent. To follow the versions released, see [agent release announcements](https://github.com/microsoft/docker-provider/tree/ci_feature_prod).
18
18
19
19
### Upgrade agent on AKS cluster
20
20
@@ -59,20 +59,6 @@ If the Log Analytics workspace is in Azure US Government, run the following comm
## How to disable environment variable collection on a container
77
63
78
64
Container insights collects environmental variables from the containers running in a pod and presents them in the property pane of the selected container in the **Containers** view. You can control this behavior by disabling collection for a specific container either during deployment of the Kubernetes cluster, or after by setting the environment variable *AZMON_COLLECT_ENV*. This feature is available from the agent version – ciprod11292018 and higher.
@@ -84,13 +70,7 @@ To disable collection of environmental variables on a new or existing container,
84
70
value: "False"
85
71
```
86
72
87
-
Run the following command to apply the change to Kubernetes clusters other than Azure Red Hat OpenShift): `kubectl apply -f <path to yaml file>`. To edit ConfigMap and apply this change for Azure Red Hat OpenShift clusters, run the command:
This opens your default text editor. After setting the variable, save the file in the editor.
73
+
Run the following command to apply the change to Kubernetes clusters: `kubectl apply -f <path to yaml file>`.
94
74
95
75
To verify the configuration change took effect, select a container in the **Containers** view in Container insights, and in the property panel, expand **Environment Variables**. The section should show only the variable created earlier - **AZMON_COLLECT_ENV=FALSE**. For all other containers, the Environment Variables section should list all the environment variables discovered.
0 commit comments