twc-rs kubernetes
Manage Kubernetes clusters
| Subcommand | Description |
|---|---|
list | List all Kubernetes clusters |
info | Show detailed info for a cluster |
create | Create a new Kubernetes cluster |
delete | Delete a cluster by ID |
update | Update cluster settings |
nodegroup-list | List node groups for a cluster |
nodegroup-create | Create a node group for a cluster |
nodegroup-delete | Delete a node group from a cluster |
node-list | List nodes for a cluster |
addon-list | List installed addons for a cluster |
addon-install | Install an addon on a cluster |
addon-delete | Delete an addon from a cluster |
preset-list | List available Kubernetes presets |
version-list | List available Kubernetes versions |
network-drivers | List available Kubernetes network drivers |
kubeconfig | Get kubeconfig for a cluster |
resources | Show cluster resources (deprecated) |
twc-rs kubernetes list
List all Kubernetes clusters
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--limit | Maximum number of clusters to return | |||
--offset | Number of clusters to skip | |||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes info
Show detailed info for a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes create
Create a new Kubernetes cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--name | Cluster name | yes | ||
--type | Kubernetes version (e.g., 1.30) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes delete
Delete a cluster by ID
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes update
Update cluster settings
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
--name | New cluster name | |||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes nodegroup-list
List node groups for a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes nodegroup-create
Create a node group for a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
--name | Node group name | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes nodegroup-delete
Delete a node group from a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
--group-id | Node group ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes node-list
List nodes for a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes addon-list
List installed addons for a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes addon-install
Install an addon on a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
--addon-name | Addon name (e.g., calico, metrics-server) | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes addon-delete
Delete an addon from a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
--addon-name | Addon name to delete | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes preset-list
List available Kubernetes presets
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes version-list
List available Kubernetes versions
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes network-drivers
List available Kubernetes network drivers
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes kubeconfig
Get kubeconfig for a cluster
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |
twc-rs kubernetes resources
Show cluster resources (deprecated)
| Argument | Description | Required | Env | Default |
|---|---|---|---|---|
--id | Cluster ID | yes | ||
-f, --format | Output format: table (default), json, yaml, or quiet | TWC_OUTPUT | table | |
-t, --token | API token override (overrides config file and TWC_TOKEN env) | TWC_TOKEN | ||
--profile | Use a named profile’s token from the config file | TWC_PROFILE |