NetworkPolicyEgressRule [api_object]ai-synthesized · conf 0.82
NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
networkingsecurity
A NetworkPolicyEgressRule is a Kubernetes object that defines an egress rule for a NetworkPolicy.
Why it matters It allows you to specify which pods can send traffic to other networks or services outside the cluster.
Key facts - Defined in io.k8s.api.networking.v1.NetworkPolicyEgressRule - Specifies an egress rule for a NetworkPolicy
Common pitfalls - Incorrectly configured egress rules can lead to security vulnerabilities
Related NetworkPolicies, Egress traffic
Sources
swagger.json — “io.k8s.api.networking.v1.NetworkPolicyEgressRule”