From f5b1203f2bade29d0ff04385e7d20138866ddad8 Mon Sep 17 00:00:00 2001 From: isa-bel Date: Mon, 15 May 2017 17:04:12 -0700 Subject: [PATCH] Write the Docs - Add task template to romana-network-policy (#3763) * AddAdd task template for romana-network-policy * Add whatsnext section --- .../romana-network-policy.md | 40 ++++++++++++++++--- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/docs/tasks/administer-cluster/romana-network-policy.md b/docs/tasks/administer-cluster/romana-network-policy.md index f5be37651a..e1c307102f 100644 --- a/docs/tasks/administer-cluster/romana-network-policy.md +++ b/docs/tasks/administer-cluster/romana-network-policy.md @@ -9,14 +9,42 @@ redirect_from: - "/docs/tasks/configure-pod-container/romana-network-policy.html" --- -# Installation with kubeadm +{% capture overview %} -Begin by following the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/) and complete steps 1, 2, and 3. Once completed, follow the [containerized installation guide](https://github.com/romana/romana/tree/master/containerize) for kubeadmin. Kubernetes network policies can then be applied to pods using the NetworkPolicy API. +This page shows how to use Romana 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 Romana with kubeadm + +1. Follow the [containerized installation guide](https://github.com/romana/romana/tree/master/containerize) for kubeadmin. + +## Applying network policies + +To apply network policies use one of the following: + +* [Romana network policies](https://github.com/romana/romana/wiki/Romana-policies). + * [Example of Romana network policy](https://github.com/romana/core/tree/master/policy). +* The NetworkPolicy API. + +{% endcapture %} + +{% capture whatsnext %} + +Once your have installed Romana, 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 %} -#### Additional Romana Network Policy Options -In addition to the standard Kubernetes NetworkPolicy API, Romana also supports additional network policy functions. -* [Romana Network Policy Capabilities](https://github.com/romana/romana/wiki/Romana-policies) -* [Example Romana Policies](https://github.com/romana/core/tree/master/policy)