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
This how-to guide provides steps to enable monitoring agents for the collection of System logs from these VMs using [Azure Monitoring Agent](/azure/azure-monitor/agents/agents-overview).
46
46
The instructions further capture details on how to set up log data collection into a Log Analytics workspace.
47
47
48
-
### Prerequisites-VM
48
+
### Prerequisites
49
49
50
50
- Cluster administrator access to the Nexus Kubernetes cluster.
51
51
@@ -73,24 +73,9 @@ Assign the service principal to the Azure resource group that has the machines t
73
73
|[User Access Administrator](../role-based-access-control/built-in-roles.md#user-access-administrator), and [Resource Policy Contributor](../role-based-access-control/built-in-roles.md#resource-policy-contributor) or [Contributor](../role-based-access-control/built-in-roles.md#contributor)| Needed if you want to use Azure policy assignment(s) to ensure that a DCR is associated with [Arc-enabled machines](https://ms.portal.azure.com/#view/Microsoft_Azure_Policy/PolicyDetailBlade/definitionId/%2Fproviders%2FMicrosoft.Authorization%2FpolicyDefinitions%2Fd5c37ce1-5f52-4523-b949-f19bf945b73a)|
74
74
|[Kubernetes Extension Contributor](../role-based-access-control/built-in-roles.md#kubernetes-extension-contributor)| Needed to deploy the K8s extension for Container Insights |
75
75
76
-
### Environment setup
76
+
### Monitor Nexus Kubernetes cluster
77
77
78
-
#### Install Azure monitoring agent
79
-
80
-
> [!NOTE]
81
-
> To install Azure Monitoring Agent, you must first Arc connect the Nexus Kubernetes cluster VMs. This process is automated if you are using the latest version bundle. However, if the version bundle you use does not support cluster VM Arc enrollment by default, you will need to upgrade your cluster to the latest version bundle. For more information about the version bundle, please refer [Nexus Kubernetes cluster supported versions](reference-nexus-kubernetes-cluster-supported-versions.md)
82
-
83
-
1. Set the environment as specified in [Environment Setup](#environment-setup). Set the current `kubeconfig` context for the Nexus Kubernetes cluster VMs.
84
-
2. Permit `Kubectl` access to the Nexus Kubernetes cluster.
> After you configure a policy, there may be some delay to observe the logs in Azure Log Analytics Workspace
90
-
91
-
### Monitor Nexus Kubernetes cluster – K8s layer
92
-
93
-
#### Prerequisites-Kubernetes
78
+
#### Prerequisites
94
79
95
80
There are certain prerequisites the operator should ensure to configure the monitoring tools on Nexus Kubernetes Clusters.
96
81
@@ -175,12 +160,12 @@ Look for a Provisioning State of "Succeeded" for the extension. The "k8s-extensi
175
160
176
161
#### Customize logs & metrics collection
177
162
178
-
Container Insights provides end-users functionality to fine-tune the collection of logs and metrics from Nexus Kubernetes Clusters--[Configure Container insights agent data collection](/azure/azure-monitor/containers/container-insights-data-collection-configmap).
163
+
Container Insights provides end-users functionality to fine-tune the collection of logs and metrics from Nexus Kubernetes Clusters. See the instructions for [Configure Container insights agent data collection](/azure/azure-monitor/containers/container-insights-data-collection-configure) for more information.
179
164
180
165
181
166
> [!NOTE]
182
167
> Container Insights does not collect logs from the `kube-system` namespace by default. To collect logs from the `kube-system` namespace, you must configure the agent to collect logs from the `kube-system` namespace.
183
-
> This can be done by removing the `kube-system` namespace from the `excludedNamespaces` field in the ConfigMap following the `configMap` configuraiton approach.
168
+
> This can be done by removing the `kube-system` namespace from the `excludedNamespaces` field in the ConfigMap following the [`configMap` configuraiton](/azure/azure-monitor/containers/container-insights-data-collection-configure?tabs=portal#configure-data-collection-using-configmap) approach.
0 commit comments