Skip to content

Commit 11787fa

Browse files
murali-reddychenopis
authored andcommitted
add kube-router as network policy provider
1 parent ef36140 commit 11787fa

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

_data/tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ toc:
146146
section:
147147
- docs/tasks/administer-cluster/calico-network-policy.md
148148
- docs/tasks/administer-cluster/cilium-network-policy.md
149+
- docs/tasks/administer-cluster/kube-router-network-policy.md
149150
- docs/tasks/administer-cluster/romana-network-policy.md
150151
- docs/tasks/administer-cluster/weave-network-policy.md
151152
- docs/tasks/administer-cluster/change-pv-reclaim-policy.md

docs/tasks/administer-cluster/declare-network-policy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ You'll need to have a Kubernetes cluster in place, with network policy support.
1313

1414
* [Calico](/docs/tasks/configure-pod-container/calico-network-policy/)
1515
* [Cilium](/docs/tasks/administer-cluster/cilium-network-policy/)
16+
* [Kube-router](/docs/tasks/administer-cluster/kube-router-network-policy/)
1617
* [Romana](/docs/tasks/configure-pod-container/romana-network-policy/)
1718
* [Weave Net](/docs/tasks/configure-pod-container/weave-network-policy/)
1819

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
approvers:
3+
- murali-reddy
4+
title: Use Kube-router for NetworkPolicy
5+
---
6+
7+
{% capture overview %}
8+
This page shows how to use [Kube-router](https://github.com/cloudnativelabs/kube-router) for NetworkPolicy.
9+
{% endcapture %}
10+
11+
{% capture prerequisites %}
12+
You need to have a Kubernetes cluster running. If you do not already have a cluster, you can create one by using any of the cluster installers like Kops, Bootkube, Kubeadm etc.
13+
{% endcapture %}
14+
15+
{% capture steps %}
16+
## Installing Kube-router addon
17+
The Kube-router Addon comes with a Network Policy Controller that watches Kubernetes API server for any NetworkPolicy and pods updated and configures iptables rules and ipsets to allow or block traffic as directed by the policies. Please follow the [trying Kube-router with cluster installers](https://github.com/cloudnativelabs/kube-router/tree/master/Documentation#try-kube-router-with-cluster-installers) guide to install Kube-router addon.
18+
{% endcapture %}
19+
20+
{% capture whatsnext %}
21+
Once you have installed the Kube-router addon, you can follow the [NetworkPolicy getting started guide](/docs/getting-started-guides/network-policy/walkthrough) to try out Kubernetes NetworkPolicy.
22+
{% endcapture %}
23+
24+
{% include templates/task.md %}
25+

0 commit comments

Comments
 (0)