-
Notifications
You must be signed in to change notification settings - Fork 2k
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
allow node drain to block on batch allocs #1523
Comments
Do you mean to have 3 flags for |
Not really, I believe |
Is this being worked on? We are very motivated to add this feature but don't want to duplicate any efforts if this is already a work in progress. If not already in progress, we would most likely be willing to dedicate some engineering time to add this feature. |
@stongo No it is not currently being tackled. I would add a string |
Hey @dadgar, I have a WIP patch that implements this feature for our deployment needs - But I'd like some opinions on how best to implement the UI for this in a way that works for the project itself. |
@dantoml Hey! So this is pretty good timing as @schmichael will be working on our next generation node draining strategies as part of Nomad 0.8! I am sure he would love to see your implementation so maybe linking the branch here would be a good start. |
@dadgar Hey - The configurable version of our original hack patch is here: circleci@ddb347a - I'm happy to either fix this patch to be something mergeable, and/or contribute towards the 0.8 draining strategy work. |
Relatedly - I'm not super sure what drain options make sense, outside of batch/(none|all) - I haven't used the services component of nomad, so I'm not sure of their mechanics. |
node-drain
to not relocate batch tasks
Doing a little bit of issue cleanup and noticed this one has been long-done. From the [
|
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
It would be useful to support letting
batch
tasks finish whennode-drain
is enabled on a node. This can be handled with a new flag tonomad node-drain
. When present it would:service
tasks to other available nodessystem
tasks on the nodeThe text was updated successfully, but these errors were encountered: