From 0b26becd2b98c3b3f301c2b3a7dac635a2899626 Mon Sep 17 00:00:00 2001 From: Isabel JC Date: Sun, 14 May 2017 14:58:15 -0700 Subject: [PATCH] Add task template for weave-network-policy --- .../weave-network-policy.md | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/tasks/administer-cluster/weave-network-policy.md b/docs/tasks/administer-cluster/weave-network-policy.md index a417a34f4a..be3679428c 100644 --- a/docs/tasks/administer-cluster/weave-network-policy.md +++ b/docs/tasks/administer-cluster/weave-network-policy.md @@ -9,8 +9,32 @@ redirect_from: - "/docs/tasks/configure-pod-container/weave-network-policy.html" --- -The [Weave Net Addon](https://www.weave.works/docs/net/latest/kube-addon/) for Kubernetes comes with a Network Policy Controller. +{% capture overview %} -This component automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces, and configures `iptables` rules to allow or block traffic as directed by the policies. +This page shows how to use Weave Net for NetworkPolicy. + +{% endcapture %} + +{% capture prerequisites %} + +1. Complete steps 1, 2, and 3 of the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/). + +{% endcapture %} + +{% capture steps %} + +## Installing Weave Net addon + +1. Follow the [Integrating Kubernetes via the Addon](https://www.weave.works/docs/net/latest/kube-addon/) guide. + +The Weave Net Addon for Kubernetes comes with a [Network Policy Controller](https://www.weave.works/docs/net/latest/kube-addon/#npc) that automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces and configures `iptables` rules to allow or block traffic as directed by the policies. + +{% endcapture %} + +{% capture whatsnext %} Once you have installed the Weave Net Addon you can follow the [NetworkPolicy getting started guide](/docs/getting-started-guides/network-policy/walkthrough) to try out Kubernetes NetworkPolicy. + +{% endcapture %} + +{% include templates/task.md %}