Skip to content

Commit

Permalink
gen-cli-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Markus With committed Jun 17, 2020
1 parent 0f4811c commit 31a19db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/cli/kops_export_kubecfg.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Export kubecfg.

### Synopsis

Export a kubecfg file for a cluster from the state store. By default the configuration will be saved into a user's $HOME/.kube/config file. Kops will respect the KUBECONFIG environment variable if the --kubeconfig flag is not set.
Export a kubecfg file for a cluster from the state store. By default the configuration will be saved into a users $HOME/.kube/config file. Kops will respect the KUBECONFIG environment variable if the --kubeconfig flag is not set.

```
kops export kubecfg CLUSTERNAME [flags]
Expand All @@ -19,7 +19,7 @@ kops export kubecfg CLUSTERNAME [flags]
# export a kubeconfig file with the cluster admin user (make sure you keep this user safe!)
kops export kubecfg kubernetes-cluster.example.com --admin
# exports a kubeconfig file with an existing user
# export using a user already existing in the kubeconfig file
kops export kubecfg kubernetes-cluster.example.com --user my-oidc-user
```

Expand Down Expand Up @@ -56,3 +56,4 @@ kops export kubecfg CLUSTERNAME [flags]
### SEE ALSO

* [kops export](kops_export.md) - Export configuration.

2 changes: 1 addition & 1 deletion docs/cli/kops_update_cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ kops update cluster [flags]

```
# After cluster has been edited or upgraded, configure it with:
kops update cluster k8s-cluster.example.com --yes --state=s3://kops-state-1234 --yes --admin --create-kube-config
kops update cluster k8s-cluster.example.com --yes --state=s3://kops-state-1234 --yes --admin
```

### Options
Expand Down

0 comments on commit 31a19db

Please sign in to comment.