Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
Skip to Content
CLICommands

orl kubernetes node delete

Delete a node (asks for confirmation; --yes to skip), part of the orl CLI for OpenRelay GPU VMs, pods, batches and billing.

orl kubernetes node delete <id> <node-id>

Removes the node from the cluster and releases its host, draining it first unless drain is false, and drops its pool's count by one so it is not replaced. Answers 202 with the node's id and status removing. Poll getKubernetesNode, which answers 404 once removal completes. The pool's last node is not deleted: that answers 409 LAST_NODE_IN_POOL, and deleting the pool removes it. A node of a pool being deleted is removed with its pool: its delete is accepted and changes nothing. A cluster that is deleting answers 409 INVALID_CLUSTER_STATE. A legacy API key needs clusters:write.

Flags

FlagTypeRequired
--drainboolnoDrain the node before removing it.
--yesboolnoskip the confirmation prompt
--forceboolnoalias for --yes

This wraps the deleteKubernetesNode API operation.

On this page