-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix incorrect reload if endpoint list grows
Dynamic updates need to check the size of the endpoint list size. Up to now the backend server list cannot dynamically grow, even when using DNS updates. HAProxy Ingress has a list of empty slots to dynamically update endpoints, forcing a reload only when no new empty slots can be found. Kubernetes' ep based updates always rebalance new endpoints with empty slots so its size is at least as big as the old one, but DNS based only do this if a reload is needed. This update rebalance the new list, so future DNS based dynamic updates can work without needing to reload haproxy.
- Loading branch information
1 parent
08797ab
commit 463219a
Showing
2 changed files
with
27 additions
and
0 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