Skip to content

Commit 6ff881c

Browse files
authored
Merge pull request #210473 from v-jbasden/jbasden-container-insights-freshness-2
Updates for container insights freshness
2 parents fc954fc + 11356eb commit 6ff881c

32 files changed

+61
-121
lines changed

.openpublishing.redirection.azure-monitor.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,11 @@
515515
"source_path_from_root": "/articles/azure-monitor/containers/container-insights-transition-hybrid.md" ,
516516
"redirect_url": "/azure/azure-monitor/containers/container-insights-onboard",
517517
"redirect_document_id": false
518+
},
519+
{
520+
"source_path_from_root": "/articles/azure-monitor/containers/container-insights-livedata-deployments.md" ,
521+
"redirect_url": "/azure/azure-monitor/containers/container-insights-overview",
522+
"redirect_document_id": false
518523
}
519524
]
520525
}

articles/azure-monitor/containers/container-insights-agent-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Configure Container insights agent data collection | Microsoft Docs
33
description: This article describes how you can configure the Container insights agent to control stdout/stderr and environment variables log collection.
44
ms.topic: conceptual
55
ms.date: 08/25/2022
6-
ms.reviewer: aul
6+
ms.reviewer: viviandiec
77
---
88

99
# Configure agent data collection for Container insights

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

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Kubernetes monitoring with Container insights | Microsoft Docs
33
description: This article describes how you can view and analyze the performance of a Kubernetes cluster with Container insights.
44
ms.topic: conceptual
5-
ms.date: 03/26/2020
6-
ms.reviewer: aul
5+
ms.date: 08/29/2022
6+
ms.reviewer: viviandiec
77
---
88

99
# Monitor your Kubernetes cluster performance with Container insights
@@ -24,7 +24,7 @@ The main differences in monitoring a Windows Server cluster with Container insig
2424

2525
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**.
2626

27-
![Screenshot that shows an Azure Monitor multi-cluster dashboard example.](./media/container-insights-analyze/azmon-containers-multiview.png)
27+
:::image type="content" source="./media/container-insights-analyze/azmon-containers-multiview.png" alt-text="Screenshot that shows an Azure Monitor multi-cluster dashboard example." lightbox="media/container-insights-analyze/azmon-containers-multiview.png":::
2828

2929
You can scope the results presented in the grid to show clusters that are:
3030

@@ -35,14 +35,13 @@ You can scope the results presented in the grid to show clusters that are:
3535

3636
To view clusters from a specific environment, select it from **Environment** in the upper-left corner.
3737

38-
![Screenshot that shows an Environment selector example.](./media/container-insights-analyze/clusters-multiview-environment-pill.png)
38+
:::image type="content" source="./media/container-insights-analyze/clusters-multiview-environment-pill.png" alt-text="Screenshot that shows an Environment selector example." lightbox="media/container-insights-analyze/clusters-multiview-environment-pill.png":::
3939

4040
On the **Monitored clusters** tab, you learn the following:
4141

4242
- How many clusters are in a critical or unhealthy state versus how many are healthy or not reporting (referred to as an Unknown state).
4343
- Whether all of the [Azure Kubernetes Engine (AKS Engine)](https://github.com/Azure/aks-engine) deployments are healthy.
4444
- How many nodes and user and system pods are deployed per cluster.
45-
- How much disk space is available and if there's a capacity issue.
4645

4746
The health statuses included are:
4847

@@ -94,7 +93,7 @@ Access to Container insights is available directly from an AKS cluster by select
9493
9594
The default page opens and displays four line performance charts that show key performance metrics of your cluster.
9695

97-
![Screenshot that shows example performance charts on the Cluster tab.](./media/container-insights-analyze/containers-cluster-perfview.png)
96+
:::image type="content" source="./media/container-insights-analyze/containers-cluster-perfview.png" alt-text="Screenshot that shows example performance charts on the Cluster tab." lightbox="media/container-insights-analyze/containers-cluster-perfview.png":::
9897

9998
The performance charts display four performance metrics:
10099

@@ -135,7 +134,7 @@ You can [split](../essentials/metrics-charts.md#apply-splitting) a metric to vie
135134

136135
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.
137136

138-
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 [Set up the Live Data (preview)](container-insights-livedata-setup.md).
137+
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 **Live Events** tab at the top of the pane. For more information about the configuration required to grant and control access to view this data, see [Set up the Live Data (preview)](container-insights-livedata-setup.md).
139138

140139
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).
141140

@@ -147,23 +146,23 @@ Specifying a filter in one tab continues to be applied when you select another.
147146

148147
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.
149148

150-
![Screenshot that shows an example of the Kubernetes Node hierarchy in the performance view.](./media/container-insights-analyze/containers-nodes-view.png)
149+
:::image type="content" source="./media/container-insights-analyze/containers-nodes-view.png" alt-text="Screenshot that shows an example of the Kubernetes Node hierarchy in the performance view." lightbox="media/container-insights-analyze/containers-nodes-view.png":::
151150

152151
Windows Server containers that run the Windows Server 2019 OS are shown after all the Linux-based nodes in the list. When you expand a Windows Server node, you can view one or more pods and containers that run on the node. After a node is selected, the properties pane shows version information.
153152

154-
![Screenshot that shows an example Node hierarchy with Windows Server nodes listed.](./media/container-insights-analyze/nodes-view-windows.png)
153+
:::image type="content" source="./media/container-insights-analyze/nodes-view-windows.png" alt-text="Screenshot that shows an example Node hierarchy with Windows Server nodes listed." lightbox="media/container-insights-analyze/nodes-view-windows.png":::
155154

156155
Azure Container Instances virtual nodes that run the Linux OS are shown after the last AKS cluster node in the list. When you expand a Container Instances virtual node, you can view one or more Container Instances pods and containers that run on the node. Metrics aren't collected and reported for nodes, only for pods.
157156

158-
![Screenshot that shows an example Node hierarchy with Container Instances listed.](./media/container-insights-analyze/nodes-view-aci.png)
157+
:::image type="content" source="./media/container-insights-analyze/nodes-view-aci.png" alt-text="Screenshot that shows an example Node hierarchy with Container Instances listed." lightbox="media/container-insights-analyze/nodes-view-aci.png":::
159158

160159
From an expanded node, you can drill down from the pod or container that runs on the node to the controller to view performance data filtered for that controller. Select the value under the **Controller** column for the specific node.
161160

162-
![Screenshot that shows the drill-down from node to controller in the performance view.](./media/container-insights-analyze/drill-down-node-controller.png)
161+
:::image type="content" source="./media/container-insights-analyze/drill-down-node-controller.png" alt-text="Screenshot that shows the drill-down from node to controller in the performance view." lightbox="media/container-insights-analyze/drill-down-node-controller.png" border="false":::
163162

164163
Select controllers or containers at the top of the page to review the status and resource utilization for those objects. To review memory utilization, in the **Metric** dropdown list, select **Memory RSS** or **Memory working set**. **Memory RSS** is supported only for Kubernetes version 1.8 and later. Otherwise, you view values for **Min %** as *NaN %*, which is a numeric data type value that represents an undefined or unrepresentable value.
165164

166-
![Screenshot that shows a Container nodes performance view.](./media/container-insights-analyze/containers-node-metric-dropdown.png)
165+
:::image type="content" source="./media/container-insights-analyze/containers-node-metric-dropdown.png" alt-text="Screenshot that shows a Container nodes performance view." lightbox="media/container-insights-analyze/containers-node-metric-dropdown.png":::
167166

168167
**Memory working set** shows both the resident memory and virtual memory (cache) included and is a total of what the application is using. **Memory RSS** shows only main memory, which is nothing but the resident memory. This metric shows the actual capacity of available memory. What's the difference between resident memory and virtual memory?
169168

@@ -172,15 +171,15 @@ Select controllers or containers at the top of the page to review the status and
172171

173172
By default, performance data is based on the last six hours, but you can change the window by using the **TimeRange** option at the upper left. You also can filter the results within the time range by selecting **Min**, **Avg**, **50th**, **90th**, **95th**, and **Max** in the percentile selector.
174173

175-
![Screenshot that shows a percentile selection for data filtering.](./media/container-insights-analyze/containers-metric-percentile-filter.png)
174+
:::image type="content" source="./media/container-insights-analyze/containers-metric-percentile-filter.png" alt-text="Screenshot that shows a percentile selection for data filtering." lightbox="media/container-insights-analyze/containers-metric-percentile-filter.png":::
176175

177176
When you hover over the bar graph under the **Trend** column, each bar shows either CPU or memory usage, depending on which metric is selected, within a sample period of 15 minutes. After you select the trend chart through a keyboard, use the Alt+Page up key or Alt+Page down key to cycle through each bar individually. You get the same details that you would if you hovered over the bar.
178177

179-
![Screenshot that shows a Trend bar chart hover-over example.](./media/container-insights-analyze/containers-metric-trend-bar-01.png)
178+
:::image type="content" source="./media/container-insights-analyze/containers-metric-trend-bar-01.png" alt-text="Screenshot that shows a Trend bar chart hover-over example." lightbox="media/container-insights-analyze/containers-metric-trend-bar-01.png":::
180179

181-
In the next example, for the first node in the list, *aks-nodepool1-*, the value for **Containers** is 9. This value is a rollup of the total number of containers deployed.
180+
In the next example, for the first node in the list, *aks-nodepool1-*, the value for **Containers** is 25. This value is a rollup of the total number of containers deployed.
182181

183-
![Screenshot that shows a rollup of containers-per-node example.](./media/container-insights-analyze/containers-nodes-containerstotal.png)
182+
:::image type="content" source="./media/container-insights-analyze/containers-nodes-containerstotal.png" alt-text="Screenshot that shows a rollup of containers-per-node example." lightbox="media/container-insights-analyze/containers-nodes-containerstotal.png":::
184183

185184
This information can help you quickly identify whether you have a proper balance of containers between nodes in your cluster.
186185

@@ -209,19 +208,19 @@ It's calculated by *Total usage from CAdvisor* - *Usage from containerized proce
209208

210209
In the selector, select **Controllers**.
211210

212-
![Screenshot that shows selecting Controllers.](./media/container-insights-analyze/containers-controllers-tab.png)
211+
:::image type="content" source="./media/container-insights-analyze/containers-controllers-tab.png" alt-text="Screenshot that shows selecting Controllers.]" lightbox="media/container-insights-analyze/containers-controllers-tab.png":::
213212

214213
Here you can view the performance health of your controllers and Container Instances virtual node controllers or virtual node pods not connected to a controller.
215214

216-
![Screenshot that shows a \<Name> controllers performance view.](./media/container-insights-analyze/containers-controllers-view.png)
215+
:::image type="content" source="./media/container-insights-analyze/containers-controllers-view.png" alt-text="Screenshot that shows a \<Name> controllers performance view." lightbox="media/container-insights-analyze/containers-controllers-view.png":::
217216

218217
The row hierarchy starts with a controller. When you expand a controller, you view one or more pods. Expand a pod, and the last row displays the container grouped to the pod. From an expanded controller, you can drill down to the node it's running on to view performance data filtered for that node. Container Instances pods not connected to a controller are listed last in the list.
219218

220-
![Screenshot that shows an example Controllers hierarchy with Container Instances pods listed.](./media/container-insights-analyze/controllers-view-aci.png)
219+
:::image type="content" source="./media/container-insights-analyze/controllers-view-aci.png" alt-text="Screenshot that shows an example Controllers hierarchy with Container Instances pods listed." lightbox="media/container-insights-analyze/controllers-view-aci.png":::
221220

222221
Select the value under the **Node** column for the specific controller.
223222

224-
![Screenshot that shows an example drill-down from controller to node in the performance view.](./media/container-insights-analyze/drill-down-controller-node.png)
223+
:::image type="content" source="./media/container-insights-analyze/drill-down-controller-node.png" alt-text="Screenshot that shows an example drill-down from controller to node in the performance view." lightbox="media/container-insights-analyze/drill-down-controller-node.png" border="false":::
225224

226225
The information that's displayed when you view controllers is described in the following table.
227226

@@ -250,15 +249,15 @@ The status icon displays a count based on what the pod provides. It shows the wo
250249

251250
In the selector, select **Containers**.
252251

253-
![Screenshot that shows selecting Containers.](./media/container-insights-analyze/containers-containers-tab.png)
252+
:::image type="content" source="./media/container-insights-analyze/containers-containers-tab.png" alt-text="Screenshot that shows selecting Containers." lightbox="media/container-insights-analyze/containers-containers-tab.png":::
254253

255254
Here you can view the performance health of your AKS and Container Instances containers.
256255

257-
![Screenshot that shows a \<Name> containers performance view.](./media/container-insights-analyze/containers-containers-view.png)
256+
:::image type="content" source="./media/container-insights-analyze/containers-containers-view.png" alt-text="Screenshot that shows a \<Name> containers performance view." lightbox="media/container-insights-analyze/containers-containers-view.png":::
258257

259258
From a container, you can drill down to a pod or node to view performance data filtered for that object. Select the value under the **Pod** or **Node** column for the specific container.
260259

261-
![Screenshot that shows an example drill-down from node to containers in the performance view.](./media/container-insights-analyze/drill-down-controller-node.png)
260+
:::image type="content" source="./media/container-insights-analyze/drill-down-container-node.png" alt-text="Screenshot that shows an example drill-down from node to containers in the performance view." lightbox="media/container-insights-analyze/drill-down-controller-node.png" border="false":::
262261

263262
The information that's displayed when you view containers is described in the following table.
264263

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Monitoring cost for Container insights | Microsoft Docs
33
description: This article describes the monitoring cost for metrics & inventory data collected by Container insights to help customers manage their usage and associated costs.
44
ms.topic: conceptual
5-
ms.date: 05/29/2020
6-
ms.reviewer: aul
5+
ms.date: 08/29/2022
6+
ms.reviewer: viviandiec
77

88
---
99
# Understand monitoring costs for Container insights
@@ -187,6 +187,12 @@ If you are utilizing [Prometheus metric scraping](container-insights-prometheus-
187187
- Container insights supports exclusion & inclusion lists by metric name. For example, if you are scraping **kubedns** metrics in your cluster, there might be hundreds of them that gets scraped by default, but you are most likely only interested in a subset. Confirm you specified a list of metrics to scrape, or exclude others except a few to save on data ingestion volume. It is easy to enable scraping and not use many of those metrics, which will only add additional charges to your Log Analytics bill.
188188
189189
- When scraping through pod annotations, ensure you filter by namespace so that you exclude scraping of pod metrics from namespaces that you don't use (for example, **dev-test** namespace).
190+
191+
### Configure Basic Logs
192+
193+
You can save on data ingestion costs by configuring certain tables in your Log Analytics workspace that you primarily use for debugging, troubleshooting, and auditing as Basic Logs. For more information, including the limitations of Basic Logs, see [Configure Basic Logs (preview)](../best-practices-cost.md#configure-basic-logs-preview). ContainerLogV2 is the configured version of Basic Logs that Container Insights uses. ContainerLogV2 includes verbose text-based log records.
194+
195+
You must be on the ContainerLogV2 schema to configure Basic Logs. For more information, see [Enable the ContainerLogV2 schema (preview)](container-insights-logging-v2.md).
190196
191197
## Next steps
192198

0 commit comments

Comments
 (0)