CH·02CLI reference

gpu clusters resize

Change a cluster's machine bounds or idle period

Change a cluster's machine bounds or idle period

Synopsis

Machines are added within seconds when --min-nodes rises. Machines over a lowered --max-nodes are drained and released.

gpu clusters resize ID_OR_NAME [--min-nodes N] [--max-nodes N] [--idle-timeout SECONDS] [flags]

Examples

gpu clusters resize train --max-nodes 6
gpu clusters resize train --min-nodes 1 --idle-timeout 300

Options

  -h, --help               help for resize
      --idle-timeout int   Seconds a machine may run no GPU work before it is removed
      --max-nodes int      Most machines under load
      --min-nodes int      Machines kept at all times

Options inherited from parent commands

      --api-base string   API base URL (override with GPUAI_API_BASE env) (default "https://api.gpu.ai/v1")
      --debug             Enable debug logging to stderr
  -o, --output string     Output format: table|json (default table on TTY, json otherwise)

SEE ALSO

  • gpu clusters - GPU clusters: machines joined as one Kubernetes cluster with Ray

← The gpu CLI