Kubernetes

Delete a node

Removes the node from the cluster and releases its host, draining it first unless drain is false; poll getKubernetesNode, which answers 404 once removal completes. Its pool's count drops by one, so the node is not replaced. The pool's last node is not deleted: that answers 409 LAST_NODE_IN_POOL, and deleting the pool removes it. A cluster that is deleting answers 409 INVALID_CLUSTER_STATE. Needs clusters:write on an API key, or the owner, admin or member role on a session.

delete/v1/kubernetes/clusters/{id}/nodes/{nodeId}

Path parameters

idstring required
nodeIdstring required

Query parameters

drainboolean

Drain the node before removing it.

Response

Removal started

idstring required

The node being removed.

Changes

Changed in 1 of the 40 revisions of this API.1