open-nomad/e2e/nodedrain/input
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
..
drain_deadline.nomad E2E: clarify drain -deadline and -force flag behaviors (#16868) 2023-04-12 15:27:24 -04:00
drain_ignore_system.nomad [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
drain_killtimeout.nomad drain: use client status to determine drain is complete (#14348) 2023-04-13 08:55:28 -04:00
drain_migrate.nomad [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
drain_simple.nomad [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00