Manage your Akua clusters from the command line. The clusters commands let you inspect cluster state, update configuration, download kubeconfigs, and delete clusters you no longer need.
Alias: cnap cl
List clusters
Get cluster details
cnap clusters get < cluster-i d >
Update a cluster
cnap clusters update < cluster-i d > --name "staging"
cnap clusters update < cluster-i d > --region < region-i d >
Flag Description --nameNew cluster name --regionNew region ID
Delete a cluster
cnap clusters delete < cluster-i d > --force
The --force flag is required to confirm deletion.
Download kubeconfig
# Print to stdout
cnap clusters kubeconfig < cluster-i d >
# Write to file (mode 0600)
cnap clusters kubeconfig < cluster-i d > -o kubeconfig.yaml
Downloads the admin kubeconfig for a managed cluster. The cluster must be in RUNNING status.
Pipe directly into kubectl: cnap clusters kubeconfig <id> | kubectl --kubeconfig /dev/stdin get nodes
API reference
Clusters API Endpoints, parameters, response shapes, and try-it playground.
Authentication Mint API tokens for programmatic access.
Clusters Understand managed and imported cluster types.
Installs Deploy products and stream logs from the CLI.
Cluster concepts Understand how clusters, workers, and placement fit together.
CLI overview Authentication, output formats, and configuration.