Merge pull request #29216 from danwinship/ipblock-selectors

Add a manual anchor to an interesting spot in the NetworkPolicy docs
This commit is contained in:
Kubernetes Prow Robot
2021-08-05 03:25:22 -07:00
committed by GitHub
@@ -154,6 +154,7 @@ contains two elements in the `from` array, and allows connections from Pods in t
When in doubt, use `kubectl describe` to see how Kubernetes has interpreted the policy. When in doubt, use `kubectl describe` to see how Kubernetes has interpreted the policy.
<a name="behavior-of-ipblock-selectors"></a>
__ipBlock__: This selects particular IP CIDR ranges to allow as ingress sources or egress destinations. These should be cluster-external IPs, since Pod IPs are ephemeral and unpredictable. __ipBlock__: This selects particular IP CIDR ranges to allow as ingress sources or egress destinations. These should be cluster-external IPs, since Pod IPs are ephemeral and unpredictable.
Cluster ingress and egress mechanisms often require rewriting the source or destination IP Cluster ingress and egress mechanisms often require rewriting the source or destination IP