-
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 the traffic from Pod/Node clients to external addresses behaves the same way as the traffic from external clients to external addresses. External clients do not need to consider which Nodes have local Endpoints, as the load balancer handles this for them. However, for Pod/Node clients, when the externalTrafficPolicy of the Service is set to "Local", it will not work on Nodes without an Endpoint. With this PR, even when the externalTrafficPolicy is set to "Local", Pod/Node clients without local Endpoints can still work by selecting Endpoints from the cluster. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
- Loading branch information
1 parent
8dbb48c
commit 6eaf6b0
Showing
11 changed files
with
345 additions
and
240 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.