Buildkite CLI cluster command
The bk cluster command allows you to manage organization clusters from the command line.
Commands
| Command | Description |
|---|---|
bk cluster list |
List clusters. |
bk cluster view |
View cluster information. |
List clusters
List clusters.
bk cluster list [flags]
Flags
| Flag | Description |
|---|---|
-o, --output="json"
|
Output format. One of: json, yaml, text |
--debug |
Enable debug output for REST API calls |
Examples
List all clusters:
bk cluster list
List clusters in JSON format:
bk cluster list -o json
View a cluster
View cluster information.
bk cluster view <cluster-id> [flags]
Arguments
| Argument | Description |
|---|---|
<cluster-id> |
Cluster ID to view |
Flags
| Flag | Description |
|---|---|
-o, --output="json"
|
Output format. One of: json, yaml, text |
--debug |
Enable debug output for REST API calls |
Examples
View a cluster:
bk cluster view my-cluster-id
View cluster in JSON format:
bk cluster view my-cluster-id -o json