By default, every Pod can talk to every other Pod. NetworkPolicies let you restrict that, like a firewall defined with labels. They are enforced by the CNI plugin, so a plugin without policy support (plain Flannel, for example) silently ignores them.
Free account
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 7 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.