Getting started guide which walks through using NetworkPolicy

This commit is contained in:
Casey Davenport
2016-09-06 18:53:53 -07:00
committed by Casey Davenport
parent 45e25747df
commit 5ce89f84f3
3 changed files with 136 additions and 0 deletions
+3
View File
@@ -1,6 +1,7 @@
---
assignees:
- thockin
- caseydavenport
---
@@ -47,6 +48,8 @@ To configure the annotation via `kubectl`:
kubectl annotate ns <namespace> "net.beta.kubernetes.io/network-policy={\"ingress\": {\"isolation\": \"DefaultDeny\"}}"
{% endraw %}```
See the [NetworkPolicy getting started guide](/docs/getting-started-guides/network-policy) for an example.
## The `NetworkPolicy` Resource
See the [api-reference](/docs/api-reference/extensions/v1beta1/definitions/#_v1beta1_networkpolicy) for a full definition of the resource.