
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
39 lines
717 B
Markdown
39 lines
717 B
Markdown
## 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
|
|
|
|
* [airshipctl cluster](airshipctl_cluster.md) - Manage Kubernetes clusters
|
|
|