-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
service/lbmap: Consider active backends while cleaning up service map…
… entries Service entry currently keeps a count of previous count of backend entries so that when service backends are updated, the BPF service map entries for old backends can be deleted. However, we skip adding terminating backend entries to the services BPF map so that it's not selected for new connections. As a result, we need to keep track of only the active backends (aka non-terminating) while cleaning up obsolete backend entries. See PR #17716 for more details about how terminating backends are processed for graceful removal. Signed-off-by: Aditi Ghag <aditi@cilium.io>
- Loading branch information
Showing
3 changed files
with
28 additions
and
23 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