# `Ankusa.Health.Check.Drain`
[🔗](https://github.com/jamescarr/ankusa/blob/ankusa-v0.7.0/packages/ankusa/lib/ankusa/health/check/drain.ex#L1)

`drain`, only while the node is being stopped (`Ankusa.Health.drain/1`, which
`Ankusa.Instance.Drain` calls first when the VM is told to stop): the state is
`draining`, reason `shutting_down`, and `/ready` answers `503` with
`status: "draining"`. A node that is not stopping has no `drain` key.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
