44 lines
1.0 KiB
Markdown
44 lines
1.0 KiB
Markdown
|
---
|
||
|
reviewers:
|
||
|
- chrismarino
|
||
|
title: Romana for NetworkPolicy
|
||
|
content_template: templates/task
|
||
|
weight: 40
|
||
|
---
|
||
|
|
||
|
{{% capture overview %}}
|
||
|
|
||
|
This page shows how to use Romana for NetworkPolicy.
|
||
|
|
||
|
{{% /capture %}}
|
||
|
|
||
|
{{% capture prerequisites %}}
|
||
|
|
||
|
Complete steps 1, 2, and 3 of the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/).
|
||
|
|
||
|
{{% /capture %}}
|
||
|
|
||
|
{{% capture steps %}}
|
||
|
|
||
|
## Installing Romana with kubeadm
|
||
|
|
||
|
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/blob/master/doc/policy.md).
|
||
|
* The NetworkPolicy API.
|
||
|
|
||
|
{{% /capture %}}
|
||
|
|
||
|
{{% capture whatsnext %}}
|
||
|
|
||
|
Once your have installed Romana, you can follow the [Declare Network Policy](/docs/tasks/administer-cluster/declare-network-policy/) to try out Kubernetes NetworkPolicy.
|
||
|
|
||
|
{{% /capture %}}
|
||
|
|
||
|
|