Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removing a terminating machine from balancing after some delay #6

Merged
merged 1 commit into from
May 31, 2024

Conversation

miklezzzz
Copy link
Member

What this PR does / why we need it:
This pr introduces a delay between starting terminating a node and removing the node from the load balancing (running ensureLoadBalancer) so that when there is a rolling update of a node group, a new node has slightly more time to get ready and start accepting traffic from the load balancer.
Without this delay, a terminating node gets excluded from balancing right after a new node appears in the cluster, but the new node still requires some extra time to start all necessary containers and pass the load balancer's health checks. At this point, some requests may be dropped.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Release note:


Signed-off-by: Mikhail Scherba <mikhail.scherba@flant.com>
@miklezzzz miklezzzz self-assigned this May 30, 2024
@miklezzzz miklezzzz requested a review from name212 May 30, 2024 13:55
@name212 name212 merged commit 930c62d into master May 31, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants