tp cluster command group.
Subcommands: create, destroy (alias: rm), list (alias: ls), info, edit, attach, detach.
tp cluster create
Deploy a new GPU cluster.Arguments
instance_type- Instance type to deploy (see Instance Types)
Optional Arguments
-i, --public-key- Path to your public SSH key (e.g.,~/.ssh/id_ed25519.pub). Optional if SSH keys have been saved on your account (seetp me sshkey).--name- Custom cluster name-n, --num-nodes- Number of nodes (required for multi-node clusters)--container- Container image to run on cluster nodes. Available images:base,pytorch. See Container Images--deletion-protection- Enable deletion protection for the cluster--wait- Wait for the cluster to be fully provisioned before returning
Examples
tp cluster list
View all your clusters. Alias:tp cluster ls.
Optional Arguments
--org, --organization- List all clusters in your organization--instances- Show all instances across clusters
Example
tp cluster info
Get detailed information about a specific cluster.Arguments
cluster_id- The ID of the cluster to inspect
Example
tp cluster destroy
Terminate and delete a cluster. Alias:tp cluster rm.
Arguments
cluster_id- The ID of the cluster to destroy
Optional Arguments
--no-input- Skip confirmation prompt and destroy the cluster immediately--wait- Wait for the cluster to be fully destroyed before returning
Example
tp cluster edit
Edit cluster settings.Arguments
cluster_id- The ID of the cluster to edit
Optional Arguments
--name- New name for the cluster--deletion-protection- Enable/disable deletion protection (true/false)
Example
tp cluster attach
Attach a storage volume to a cluster.Arguments
cluster_id- The ID of the cluster to attach storage tostorage_id- The ID of the storage volume to attach
Optional Arguments
--wait- Wait for storage to be fully attached
Example
Storage volumes can be attached to CPU instances and multi-node clusters (2+ nodes).
tp cluster detach
Detach a storage volume from a cluster.Arguments
cluster_id- The ID of the cluster to detach storage fromstorage_id- The ID of the storage volume to detach
Optional Arguments
--wait- Wait for storage to be fully detached
Example
Next Steps
- Learn about instance types
- Explore multi-node training
- See cluster management concepts