open-nomad/e2e/nodedrain
Tim Gross 5a9abdc469
drain: use client status to determine drain is complete (#14348)
If an allocation is slow to stop because of `kill_timeout` or `shutdown_delay`,
the node drain is marked as complete prematurely, even though drain monitoring
will continue to report allocation migrations. This impacts the UI or API
clients that monitor node draining to shut down nodes.

This changeset updates the behavior to wait until the client status of all
drained allocs are terminal before marking the node as done draining.
2023-04-13 08:55:28 -04:00
..
input drain: use client status to determine drain is complete (#14348) 2023-04-13 08:55:28 -04:00
doc.go
node_drain_test.go drain: use client status to determine drain is complete (#14348) 2023-04-13 08:55:28 -04:00