Skip to content

Commit b1f613b

Browse files
Updated NPM user doc- Addressed PR comments
1 parent 8fbc4d9 commit b1f613b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/aks/use-network-policies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ az aks nodepool add \
195195
--node-count 1
196196
```
197197

198-
## Verify Network Policy Setup
198+
## Verify Network Policy setup
199199

200200
When the cluster is ready, configure `kubectl` to connect to your Kubernetes cluster by using the [az aks get-credentials][az-aks-get-credentials] command. This command downloads credentials and configures the Kubernetes CLI to use them:
201201

articles/virtual-network/kubernetes-network-policies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ For Linux:
4848
kubectl apply -f https://github.com/Azure/azure-container-networking/blob/master/npm/azure-npm.yaml
4949
```
5050

51-
For Windows :
51+
For Windows:
5252

5353
```
5454
kubectl apply -f https://github.com/Azure/azure-container-networking/blob/master/npm/examples/windows/azure-npm.yaml
@@ -99,7 +99,7 @@ There are also "exec_time_count" and "exec_time_sum" metrics for each "exec_time
9999

100100
The metrics can be scraped through Azure Monitor for containers or through Prometheus.
101101

102-
### Setup for Azure Monitor
102+
### Set up for Azure Monitor
103103
The first step is to enable Azure Monitor for containers for your Kubernetes cluster. Steps can be found in [Azure Monitor for containers Overview](../azure-monitor/containers/container-insights-overview.md). Once you have Azure Monitor for containers enabled, configure the [Azure Monitor for containers ConfigMap](https://aka.ms/container-azm-ms-agentconfig) to enable NPM integration and collection of Prometheus NPM metrics. Azure Monitor for containers ConfigMap has an ```integrations``` section with settings to collect NPM metrics. These settings are disabled by default in the ConfigMap. Enabling the basic setting ```collect_basic_metrics = true```, will collect basic NPM metrics. Enabling advanced setting ```collect_advanced_metrics = true``` will collect advanced metrics in addition to basic metrics.
104104

105105
After editing the ConfigMap, save it locally and apply the ConfigMap to your cluster as follows.

0 commit comments

Comments
 (0)