QuestionQ188

VerifiedContainer Orchestration

By default, Pods are non-isolated and can accept traffic from any source. When a NetworkPolicy selects a Pod, the Pod becomes isolated. How does Kubernetes handle multiple NetworkPolicies that apply to the same Pod?

Explanation

NetworkPolicies are additive: the allowed connections are the union of the traffic permitted by every applicable policy for the relevant direction. They do not conflict, and their evaluation order does not change the result.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!