-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify some functions in pkg/agent/route
This PR unifies the functions in route_linux.go and route_windows.go: - AddLoadBalancer - DeleteLoadBalancer Remove: - DeleteClusterIPRoute - AddClusterIPRoute Fix: - Add the route for calculated ClusterIP CIDR to Service route cache, then the route can be restored when it was deleted since members of the route cache are synchronized periodically. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
- Loading branch information
1 parent
6590c2a
commit 3975a91
Showing
16 changed files
with
524 additions
and
429 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
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.