airshipctl/cmd/cluster/testdata/TestNewKubeConfigCommandCmd.../cluster-get-kubeconfig-cmd-...

16 lines
563 B
Plaintext

Retrieve cluster kubeconfig and print it to stdout
Usage:
get-kubeconfig [cluster_name] [flags]
Examples:
# Retrieve target-cluster kubeconfig
airshipctl cluster get-kubeconfig target-cluster --kubeconfig /tmp/kubeconfig
Flags:
--context string specify context within the kubeconfig file
-h, --help help for get-kubeconfig
--kubeconfig string path to kubeconfig associated with parental cluster
-n, --namespace string namespace where cluster is located, if not specified default one will be used (default "default")