Merge pull request #1217 from caseydavenport/master

Getting started guide for NetworkPolicy
This commit is contained in:
devin-donnelly
2016-09-13 15:32:52 -07:00
committed by GitHub
4 changed files with 151 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/walkthrough) 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.