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.
Community Discussion