Update networkpolicies.md
This commit is contained in:
parent
f382b06a16
commit
0a28be3613
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue