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
| Flag | Type | Required | |
|---|---|---|---|
--count | int | yes | The pool's new node count. Delete the pool to remove every node. |
--expected-count | int | no | Optional count the caller reviewed. If the current count differs, answers 409 CONCURRENT_UPDATE without scaling. The comparison and write are atomic. |
--body | string | no | a JSON object of request body fields, merged under any of this command's own flags that are also set, e.g. {"key":"value"} |
--body-file | string | no | read the --body JSON object from a file (- for stdin) |
--yes | bool | no | skip the confirmation prompt |
--force | bool | no | alias for --yes |
This wraps the scaleKubernetesNodePool API operation.