CLIGPU Deployments
hudl gpu check --offer <id>
Check whether a specific GPU offer is currently provisionable.
Check real-time availability for a specific GPU offer before deploying. This is useful in automation scripts to verify that hardware is available before committing to a deploy call.
Usage
hudl gpu check --offer <id> [flags]Flags
| Flag | Description |
|---|---|
--offer <id> | (required) The GPU offer ID to check availability for. |
--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. |
Examples
Check if an offer is available before deploying:
hudl gpu check --offer off_8xH100_SXM5_eu2Use in a script to conditionally deploy:
if hudl gpu check --offer off_8xH100_SXM5_eu2 -o json | jq -e '.available'; then
hudl gpu deploy --offer off_8xH100_SXM5_eu2
fiAPI reference
This command calls GET /gpu/deployments/check under the hood. See the full request and response schema in the API reference.