Adding recommendation for network isolation

This commit is contained in:
harshchauhan1988 2022-09-14 15:00:14 +05:30 committed by GitHub
parent 8760dcb270
commit 8ab4ebb376
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

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