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-cost.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
@@ -3,7 +3,7 @@ title: Monitoring cost for Container insights | Microsoft Docs
3
3
description: This article describes the monitoring cost for metrics & inventory data collected by Container insights to help customers manage their usage and associated costs.
4
4
ms.topic: conceptual
5
5
ms.date: 08/29/2022
6
-
ms.reviewer: aul
6
+
ms.reviewer: viviandiec
7
7
8
8
---
9
9
# Understand monitoring costs for Container insights
@@ -190,9 +190,9 @@ If you are utilizing [Prometheus metric scraping](container-insights-prometheus-
190
190
191
191
### Configure Basic Logs
192
192
193
-
Because Basic Logs is primarily used for debugging, troubleshooting, and auditing, it offers a low-cost alternative to standard analytics logs due to reduced cost for ingestion. For more information, 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 and which include verbose text-based log records.
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, 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
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). To configure Basic Logs for ContainerLogv2, see [Configure Basic Logs in Azure Monitor (Preview)](../logs/basic-logs-configure.md).
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).
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-onboard.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ title: Enable Container insights
4
4
description: This article describes how to enable and configure Container insights so that you can understand how your container is performing and what performance-related issues have been identified.
5
5
ms.topic: conceptual
6
6
ms.date: 08/29/2022
7
-
ms.reviewer: aul
7
+
ms.reviewer: viviandiec
8
8
---
9
9
10
10
# Enable Container insights
@@ -16,7 +16,8 @@ Container insights supports the following environments:
16
16
-[Azure Kubernetes Service (AKS)](../../aks/index.yml)
-[Red Hat OpenShift](https://docs.openshift.com/container-platform/4.3/welcome/index.html) version 4.x
20
21
21
22
## Supported Kubernetes versions
22
23
The versions of Kubernetes and support policy are the same as those [supported in Azure Kubernetes Service (AKS)](../../aks/supported-kubernetes-versions.md).
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/containers.md
+114-2Lines changed: 114 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ ms.topic: conceptual
5
5
author: bwren
6
6
ms.author: bwren
7
7
ms.date: 08/29/2022
8
-
ms.reviewer: aul
8
+
ms.reviewer: viviandiec
9
9
10
10
---
11
11
@@ -26,8 +26,9 @@ The solution shows which containers are running, what container image they’re
26
26
- DC/OS
27
27
- Service Fabric
28
28
29
-
We recommend using Azure Monitor Container insights for monitoring your Kubernetes:
29
+
We recommend using Azure Monitor Container insights for monitoring your Kubernetes and Red Hat OpenShift:
30
30
- AKS ([Configure Container insights for AKS](container-insights-enable-existing-clusters.md))
31
+
- Red Hat OpenShift ([Configure Container insights using Azure Arc](container-insights-enable-arc-enabled-clusters.md))
31
32
32
33
If you have containers deployed in [Azure Service Fabric](../../service-fabric/service-fabric-overview.md), we recommend enabling both the [Service Fabric solution](../../service-fabric/service-fabric-diagnostics-oms-setup.md) and this solution to include monitoring of cluster events. Before enabling the Service Fabric solution, review [Using the Service Fabric solution](../../service-fabric/service-fabric-diagnostics-event-analysis-oms.md) to understand what it provides and how to use it.
33
34
@@ -70,6 +71,7 @@ The following table outlines the Docker orchestration and operating system monit
70
71
- CentOS 7.2 and 7.3
71
72
- SLES 12
72
73
- RHEL 7.2 and 7.3
74
+
- Red Hat OpenShift Container Platform (OCP) 3.4 and 3.5
73
75
- ACS Mesosphere DC/OS 1.7.3 to 1.8.8
74
76
- ACS Kubernetes 1.4.5 to 1.6
75
77
- Kubernetes events, Kubernetes inventory, and container processes are only supported with version 1.4.1-45 and later of the Log Analytics agent for Linux
@@ -99,6 +101,7 @@ Use the following information to install and configure the solution.
99
101
- On CoreOS, you cannot run the Log Analytics agent for Linux. Instead, you run a containerized version of the Log Analytics agent for Linux. Review Linux container hosts including CoreOS or Azure Government Linux container hosts including CoreOS if you are working with containers in Azure Government Cloud.
100
102
- On Windows Server 2016 and Windows 10, install the Docker Engine and client then connect an agent to gather information and send it to Azure Monitor. Review [Install and configure Windows container hosts](#install-and-configure-windows-container-hosts) if you have a Windows environment.
101
103
- For Docker multi-host orchestration:
104
+
- If you have a Red Hat OpenShift environment, review Configure a Log Analytics agent for Red Hat OpenShift.
102
105
- If you have a Kubernetes cluster using the Azure Container Service:
103
106
- Review [Configure a Log Analytics Linux agent for Kubernetes](#configure-a-log-analytics-linux-agent-for-kubernetes).
104
107
- Review [Configure an Log Analytics Windows agent for Kubernetes](#configure-a-log-analytics-windows-agent-for-kubernetes).
@@ -179,6 +182,115 @@ For Docker Swarm, once the secret for Workspace ID and Primary Key is created, u
#### Configure a Log Analytics agent for Red Hat OpenShift
186
+
187
+
There are three ways to add the Log Analytics agent to Red Hat OpenShift to start collecting container monitoring data.
188
+
189
+
* [Install the Log Analytics agent for Linux](../vm/monitor-virtual-machine.md) directly on each OpenShift node
190
+
* [Enable Log Analytics VM Extension](../vm/monitor-virtual-machine.md) on each OpenShift node residing in Azure
191
+
* Install the Log Analytics agent as an OpenShift daemon-set
192
+
193
+
In this section we cover the steps required to install the Log Analytics agent as an OpenShift daemon-set.
194
+
195
+
1. Sign on to the OpenShift master node and copy the yaml file [ocp-omsagent.yaml](https://github.com/Microsoft/OMS-docker/blob/master/OpenShift/ocp-omsagent.yaml) from GitHub to your master node and modify the value with your Log Analytics Workspace ID and with your Primary Key.
196
+
2. Run the following commands to create a project for Azure Monitor and set the user account.
If you want to use secrets to secure your Log Analytics Workspace ID and Primary Key when using the Log Analytics agent daemon-set yaml file, perform the following steps.
233
+
234
+
1. Sign on to the OpenShift master node and copy the yaml file [ocp-ds-omsagent.yaml](https://github.com/Microsoft/OMS-docker/blob/master/OpenShift/ocp-ds-omsagent.yaml) and secret generating script [ocp-secretgen.sh](https://github.com/Microsoft/OMS-docker/blob/master/OpenShift/ocp-secretgen.sh) from GitHub. This script will generate the secrets yaml file for Log Analytics Workspace ID and Primary Key to secure your secrete information.
235
+
2. Run the following commands to create a project for Azure Monitor and set the user account. The secret generating script asks for your Log Analytics Workspace ID `<WSID>` and Primary Key `<KEY>` and upon completion, it creates the ocp-secret.yaml file.
#### Configure a Log Analytics Linux agent for Kubernetes
183
295
184
296
For Kubernetes, you use a script to generate the secrets yaml file for your Workspace ID and Primary Key to install the Log Analytics agent for Linux. At the [Log Analytics Docker Kubernetes GitHub](https://github.com/Microsoft/OMS-docker/tree/master/Kubernetes) page, there are files that you can use with or without your secret information.
0 commit comments