-
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
Short-circuiting is used to ensure that Pod/Node to local NodePort, LoadBalancer, or ExternalIP can work, regardless of the externalTrafficPolicy of the Service. Previously, externalTrafficPolicy determined the selected Endpoint for Pod/Node clients and external clients. With "Cluster", Endpoints were selected from all Endpoints across the cluster, while "Local" only selected from local Endpoints. With this PR, even when externalTrafficPolicy is set to "Local", Pod/Node clients without local Endpoints can still work, because Endpoints from the cluster can be selected. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
- Loading branch information
1 parent
f2e17bb
commit 194f5db
Showing
9 changed files
with
333 additions
and
54 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.