
This PS will allow us to retrieve kubeconfig from different kind of sources. Change-Id: I31381cf466c58373efda40d06587e34bef411c68 Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
686 B
686 B
airshipctl cluster get-kubeconfig
Retrieve kubeconfig for a desired cluster
Synopsis
Retrieve cluster kubeconfig and print it to stdout
airshipctl cluster get-kubeconfig [cluster_name] [flags]
Examples
# Retrieve target-cluster kubeconfig
airshipctl cluster get-kubeconfig target-cluster
Options
-h, --help help for get-kubeconfig
Options inherited from parent commands
--airshipconf string Path to file for airshipctl configuration. (default "$HOME/.airship/config")
--debug enable verbose output
SEE ALSO
- airshipctl cluster - Manage Kubernetes clusters