Add weights, move files: Tasks>AdminClust>NetPol. (#8634)

* Add weights, move files: Tasks>AdminClust>NetPol.

* Update _index.md
This commit is contained in:
Steve Perry
2018-05-19 20:54:51 -07:00
committed by k8s-ci-robot
parent 9c94281570
commit eb420cf183
8 changed files with 16 additions and 3 deletions
@@ -0,0 +1,26 @@
---
reviewers:
- murali-reddy
title: Use Kube-router for NetworkPolicy
content_template: templates/task
weight: 30
---
{{% capture overview %}}
This page shows how to use [Kube-router](https://github.com/cloudnativelabs/kube-router) for NetworkPolicy.
{{% /capture %}}
{{% capture prerequisites %}}
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.
{{% /capture %}}
{{% capture steps %}}
## Installing Kube-router addon
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.
{{% /capture %}}
{{% capture whatsnext %}}
Once you have installed the Kube-router addon, you can follow the [Declare Network Policy](/docs/tasks/administer-cluster/declare-network-policy/) to try out Kubernetes NetworkPolicy.
{{% /capture %}}