Skip to content

Commit 91ecbb9

Browse files
authored
Merge pull request #36805 from harshchauhan1988/patch-2
Adding recommendation for network isolation
2 parents 5c5b3f1 + 8ab4ebb commit 91ecbb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/docs/concepts/security/multi-tenancy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ In a multi-tenant environment where strict network isolation between tenants is
218218
with a default policy that denies communication between pods is recommended with another rule that
219219
allows all pods to query the DNS server for name resolution. With such a default policy in place,
220220
you can begin adding more permissive rules that allow for communication within a namespace.
221+
It is also recommended not to use empty label selector '{}' for namespaceSelector field in network policy definition,
222+
in case traffic need to be allowed between namespaces.
221223
This scheme can be further refined as required. Note that this only applies to pods within a single
222224
control plane; pods that belong to different virtual control planes cannot talk to each other via
223225
Kubernetes networking.

0 commit comments

Comments
 (0)