Nodes

Drain a node: mark it as "draining" so no new replicas are scheduled on it, and trigger redeployment of all affected environments so their containers are rescheduled to healthy nodes.

Changed on
post/internal/nodes/{node_id}/drain

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

node_idinteger required

Node ID

Response

Node drain initiated

affected_environmentsinteger required
idinteger required
messagestring required
namestring required
replica_shortfallinteger

Replicas retired with no other node to run them, so their deployments run short of their configured count until this node is undrained.

statusstring required

Changes