-
-
Notifications
You must be signed in to change notification settings - Fork 17
Wait for pod evictions when draining, up to 60 seconds. #271
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
base: main
Are you sure you want to change the base?
Conversation
|
Is there any appetite for this change? |
|
This would solve a huge headache of ours as fleetlock shuts down our nodes before our database pods gracefully shuts down, forcing an ugly failover. @dghubble, sorry for the ping but is this feature something that can be considered? |
|
FWIW we've been running with this change in production for almost a year now |
|
Thanks @vadimberezniker, we made a fork with the commits from this PR and are very happy with the results 🎉 It really should be merged in the official provider but a fix is a fix I guess. |
The drainer attempts to evict pods but doesn't wait at all (?) for evictions to complete which does not allow time for graceful termination of pods that need it.