mirror of
https://github.com/rancher/k3k.git
synced 2026-05-17 14:56:42 +00:00
* adding scripts for asciidoc cli generation * fix small typos to align to existing docs * added pandoc * pandoc check
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
## k3kcli kubeconfig generate
|
|
|
|
Generate kubeconfig for clusters.
|
|
|
|
```
|
|
k3kcli kubeconfig generate [flags]
|
|
```
|
|
|
|
### Options
|
|
|
|
```
|
|
--altNames strings altNames of the generated certificates for the kubeconfig
|
|
--cn string Common name (CN) of the generated certificates for the kubeconfig (default "system:admin")
|
|
--config-name string the name of the generated kubeconfig file
|
|
--expiration-days int Expiration date of the certificates used for the kubeconfig (default 365)
|
|
-h, --help help for generate
|
|
--kubeconfig-server string override the kubeconfig server host
|
|
--name string cluster name
|
|
-n, --namespace string namespace of the k3k cluster
|
|
--org strings Organization name (ORG) of the generated certificates for the kubeconfig
|
|
```
|
|
|
|
### Options inherited from parent commands
|
|
|
|
```
|
|
--debug Turn on debug logs
|
|
--kubeconfig string kubeconfig path ($HOME/.kube/config or $KUBECONFIG if set)
|
|
```
|
|
|
|
### SEE ALSO
|
|
|
|
* [k3kcli kubeconfig](k3kcli_kubeconfig.md) - Manage kubeconfig for clusters.
|
|
|