Update networkpolicies.md

This commit is contained in:
Eric Paris 2016-10-19 08:55:03 -04:00 committed by GitHub
parent f382b06a16
commit 0a28be3613
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ __podSelector__: Each `NetworkPolicy` includes a `podSelector` which selects the
__ingress__: Each `NetworkPolicy` includes a list of whitelist `ingress` rules. Each rule allows traffic which matches both the `from` and `ports` sections.
In plain language, this example NetworkPolicy:
This example NetworkPolicy has the following characteristics:
1. applies to all pods in the default namespace with the label "role=db"
2. allows tcp/6379 ingress traffic to the "role=db" pods from any pod in the current namespace with the label "role=frontend" (due to the podSelector list element)