-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for short-circuiting in AntreaProxy
Before this PR, the implementation was that: - Traffic from an internal or external client to an internal destination IP (ClusterIP) gets internalTrafficPolicy. - Traffic from an internal or external client to an external destination IP (NodePort/LoadBalancer/ExternalIP) gets externalTrafficPolicy. After this PR, the implementation is that: - Traffic from an internal or external client to an internal destination IP (ClusterIP) gets internalTrafficPolicy. - Traffic from an external client to an external destination IP (NodePort/LoadBalancer/ExternalIP) gets externalTrafficPolicy. - Traffic from an internal client to an external destination IP (NodePort/LoadBalancer/ExternalIP) gets no policy; it always gets Cluster semantics and works (this is called short-circuiting). Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
- Loading branch information
1 parent
1ff93c4
commit 29a1a29
Showing
9 changed files
with
287 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.