QuestionQ14

VerifiedKubernetes Fundamentals

What role does a NetworkPolicy serve in Kubernetes?

Explanation

A Kubernetes NetworkPolicy applies ingress and/or egress rules to selected Pods. A Pod becomes isolated for a direction when a NetworkPolicy selecting it applies to that direction; otherwise it is non-isolated. NetworkPolicy does not provide traffic encryption, logging, or the ability to block loopback or resident-node traffic.

Learn more

Community Discussion

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