Drain jobs ?
Closed this issue · 3 comments
crownedgrouse commented
Hi, only a question, not an issue .
Is there a way to ask a node to drain jobs, i.e. finish current running jobs and not accepting new one ?
Is it the current behavior, could this be a new feature ?
Regards
kalta commented
You mean nkcluster:set_status(Node, standby)
?
crownedgrouse commented
Well, 'stopping' is more close to my need, but in the documentation you say it ask tasks to stop.
'draining' is a state where all tasks are waiting to be finish normally while no other tasks are accepted.
But maybe I did not well understood those states...
crownedgrouse commented
Closing. Thanks