airshipctl/docs/source/cli/airshipctl_cluster_get-kubeconfig.md
Ruslan Aliev 9cde986a31 Introduce cluster get-kubeconfig command
This command will be used to retrieve kubeconfig from from leveraging
cluster or from document model. Particular implementation will be
added in further commits to make it easier for review.

Change-Id: If9e35dd90fdfcad6fa60a3cc4fab76ec1cb57f62
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Related-To: #374
2020-12-16 16:13:42 -06:00

717 B

airshipctl cluster get-kubeconfig

Retrieve kubeconfig for a desired cluster

Synopsis

Retrieve cluster kubeconfig and save it to file or stdout.

airshipctl cluster get-kubeconfig [cluster_name] [flags]

Examples

# Retrieve target-cluster kubeconfig and print it to stdout
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