CLIGPU Deployments
hudl gpu action <id> <action>
Run a power action on a GPU deployment: start, stop, or reboot.
Execute a power action on a running GPU deployment. Supported actions are start, stop, and reboot. The command returns immediately and the deployment transitions to the target state asynchronously.
Usage
hudl gpu action <id> <action> [flags]The <action> argument must be one of:
| Action | Description |
|---|---|
start | Power on a stopped deployment. |
stop | Gracefully shut down a running deployment. |
reboot | Reboot a running deployment in place. |
Flags
| Flag | Description |
|---|---|
--region <code> | Override the active region for this call only. |
--workspace <slug> | Override the active workspace for this call only. |
-o, --output | Output format: table (default), json, yaml, wide, name. |
--idempotency-key <key> | Attach an idempotency key so retries are safe. |
Examples
Stop a running deployment:
hudl gpu action dep_3f8a1b2c stopReboot a deployment that has become unresponsive:
hudl gpu action dep_3f8a1b2c rebootStart a previously stopped deployment:
hudl gpu action dep_3f8a1b2c startAPI reference
This command calls POST /gpu/deployments/{id}/action under the hood. See the full request and response schema in the API reference.