NetworkPolicyPeer [api_object]ai-synthesized · conf 0.82
NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
networkingsecurity
A peer in the context of a NetworkPolicy.
Why it matters This object is used to specify which pods or services can communicate with each other.
Key facts - Represents a peer in the context of a NetworkPolicy. - Used to specify which pods or services can communicate with each other.
Common pitfalls - Incorrectly configured peers can lead to security issues.
Related NetworkPolicy, Pods, Services
Sources
swagger.json — “io.k8s.api.networking.v1.NetworkPolicyPeer”