Which Kubernetes resource specifies the traffic permitted to reach a Pod?
A NetworkPolicy selects Pods and defines the ingress traffic that is allowed to reach them (as well as optional egress traffic). Its enforcement requires a network plugin that supports NetworkPolicy. Kubernetes NetworkPolicy API reference
Community Discussion