Skip to content

Commit 9f16a68

Browse files
committed
fixes
1 parent d1168b6 commit 9f16a68

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Network policies provide micro-segmentation for pods just like Network Security
1414

1515
:::image type="content" source="./media/kubernetes-network-policies/kubernetes-network-policies-overview.png" alt-text="Diagram of Kubernetes network policies overview.":::
1616

17-
Azure Network Policy Management implementation works with the Azure CNI that provides VNet integration for containers. Network Policy Manager is supported on Linux and Windows Server. The implementation enforces traffic filtering by configuring allow and deny IP rules based on the defined policies in Linux IPTables or Host Network Service(HNS) ACLPolicies for Windows Server.
17+
Azure Network Policy Management implementation works with the Azure CNI that provides virtual network integration for containers. Network Policy Manager is supported on Linux and Windows Server. The implementation enforces traffic filtering by configuring allow and deny IP rules based on the defined policies in Linux IPTables or Host Network Service(HNS) ACLPolicies for Windows Server.
1818

1919
## Planning security for your Kubernetes cluster
2020

@@ -39,16 +39,16 @@ Once the cluster is deployed run the following `kubectl` command to download and
3939
For Linux:
4040

4141
```
42-
kubectl apply -f https://github.com/Azure/azure-container-networking/blob/master/Network Policy Manager/azure-Network Policy Manager.yaml
42+
kubectl apply -f https://github.com/Azure/azure-container-networking/blob/master/Network Policy Manager/azure-npm.yaml
4343
```
4444

4545
For Windows:
4646

4747
```
48-
kubectl apply -f https://github.com/Azure/azure-container-networking/blob/master/Network Policy Manager/examples/windows/azure-Network Policy Manager.yaml
48+
kubectl apply -f https://github.com/Azure/azure-container-networking/blob/master/Network Policy Manager/examples/windows/azure-npm.yaml
4949
```
5050

51-
The solution is also open source and the code is available on the [Azure Container Networking repository](https://github.com/Azure/azure-container-networking/tree/master/Network Policy Manager).
51+
The solution is also open source and the code is available on the [Azure Container Networking repository](https://github.com/Azure/azure-container-networking/tree/master/npm).
5252

5353
## Monitor and visualize network configurations with Azure NPM
5454

@@ -127,9 +127,9 @@ integrations: |-
127127
collect_advanced_metrics = true
128128
```
129129

130-
Advanced metrics are optional, and turning them on automatically turns on basic metrics collection. Advanced metrics currently include only `Network Policy Manager_ipset_counts`
130+
Advanced metrics are optional, and turning them on automatically turns on basic metrics collection. Advanced metrics currently include only `Network Policy Manager_ipset_counts`.
131131

132-
Learn more about [Azure Monitor for containers collection settings in config map](../azure-monitor/containers/container-insights-agent-config.md)
132+
Learn more about [Azure Monitor for containers collection settings in config map](../azure-monitor/containers/container-insights-agent-config.md).
133133

134134
### Visualization options for Azure Monitor
135135

@@ -146,7 +146,7 @@ Besides viewing the workbook, you can also directly query the Prometheus metrics
146146
| where Name contains "npm_"
147147
```
148148

149-
You can also query log analytics directly for the metrics. Learn more about it with [Getting Started with Log Analytics Queries](../azure-monitor/containers/container-insights-log-query.md)
149+
You can also query log analytics directly for the metrics. For more information, see [Getting Started with Log Analytics Queries](../azure-monitor/containers/container-insights-log-query.md).
150150

151151
#### Viewing in Grafana dashboard
152152

@@ -158,7 +158,7 @@ The dashboard has visuals similar to the Azure Workbook. You can add panels to c
158158

159159
Some users may choose to collect metrics with a Prometheus server instead of Azure Monitor for containers. You merely need to add two jobs to your scrape config to collect Network Policy Manager metrics.
160160

161-
To install a Prometheus server, add this helm repo on your cluster
161+
To install a Prometheus server, add this helm repo on your cluster:
162162

163163
```
164164
helm repo add stable https://kubernetes-charts.storage.googleapis.com
@@ -173,7 +173,7 @@ helm install prometheus stable/prometheus -n monitoring \
173173
--set-file extraScrapeConfigs=prometheus-server-scrape-config.yaml
174174
```
175175

176-
where `prometheus-server-scrape-config.yaml` consists of
176+
where `prometheus-server-scrape-config.yaml` consists of:
177177

178178
```
179179
- job_name: "azure-npm-node-metrics"
@@ -266,7 +266,7 @@ The visuals for this dashboard are identical to the dashboard with a container i
266266

267267
### Sample dashboards
268268

269-
Following are some sample dashboard for Network Policy Manager metrics in container insights (CI) and Grafana
269+
Following are some sample dashboard for Network Policy Manager metrics in container insights (CI) and Grafana.
270270

271271
#### CI summary counts
272272

0 commit comments

Comments
 (0)