airshipctl cluster list

Airshipctl command to get and list defined clusters

Synopsis

Retrieve and list the defined clusters in table form or display just the cluster names. The contents of the table would include cluster name, kubeconfig context and parent cluster name.

airshipctl cluster list [flags]

Examples

Retrieve list of clusters
# airshipctl cluster list --airshipconf /tmp/airconfig
# airshipctl cluster list -o table
# airshipctl cluster list -o name

Options

-h, --help            help for list
-o, --output string   output formats. Supported options are 'table' and 'name' (default "name")

Options inherited from parent commands

--airshipconf string   path to the airshipctl configuration file. Defaults to "$HOME/.airship/config"
--debug                enable verbose output

SEE ALSO