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

orl kube node-pool scale

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

orl kube node-pool scale <id> <pool-id> --count <count>

Sets the pool's node count and answers 202 with the pool. Scaling down removes nodes and whatever runs on them, draining each one first. A cluster that is creating, deleting or failed answers 409 INVALID_CLUSTER_STATE; a failed cluster has no control plane to join. A legacy API key needs clusters:write.

Flags

FlagTypeRequired
--countintyesThe pool's new node count. Delete the pool to remove every node.
--expected-countintnoOptional count the caller reviewed. If the current count differs, answers 409 CONCURRENT_UPDATE without scaling. The comparison and write are atomic.
--bodystringnoa JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"}
--body-filestringnoread the --body JSON object from a file (- for stdin)
--yesboolnoskip the confirmation prompt
--forceboolnoalias for --yes

This wraps the scaleKubernetesNodePool API operation.

On this page