Skip to content

Conversation

@vadimberezniker
Copy link

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.

@vadimberezniker
Copy link
Author

Is there any appetite for this change?
Draining nodes w/o waiting at all for pods to be evicted isn't ideal behavior.
This can lead to ungraceful pod termination if the host is rebooted after the drain.

craigcabrey added a commit to craigcabrey/fleetlock that referenced this pull request Apr 5, 2025
github-actions bot pushed a commit to craigcabrey/fleetlock that referenced this pull request May 18, 2025
github-actions bot pushed a commit to craigcabrey/fleetlock that referenced this pull request May 25, 2025
@wolffberg
Copy link

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?

@vadimberezniker
Copy link
Author

FWIW we've been running with this change in production for almost a year now

@wolffberg
Copy link

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.

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.

2 participants