job clusters
List compute clusters in Studio.
Synopsis
Description
This command lists the compute clusters your team can run jobs on, with the machine each one provisions and how busy it is. Use it to pick a cluster for datachain job run --cluster, or to check spare capacity before submitting.
Retired clusters are not listed.
Options
--team TEAM- Team to list clusters for (default: from config)--json- Print the cluster list as JSON-h,--help- Show the help message and exit-v,--verbose- Be verbose-q,--quiet- Be quiet
Picking a cluster
List what your team has, then run on one by name:
Omit --cluster and the job runs on the team's default.
Output
An excerpt - the full table also carries Cloud Provider, Compute Class, Disk Request and Is Default:
A - means the cluster does not set that field. It never means zero.
JSON output
--json prints the clusters as JSON, for scripting:
Examples
-
List all clusters for the default team:
-
List clusters for a specific team:
-
Find the default cluster's instance type, for scripting:
Notes
- Working out a cost. Provider, region and machine information can help identify a rate. Estimating a job's cost also requires its resource usage and the applicable compute and storage rates, none of which this command reports.