mirror of
https://github.com/rancher/k3k.git
synced 2026-04-22 10:36:46 +00:00
* adding scripts for asciidoc cli generation * fix small typos to align to existing docs * added pandoc * pandoc check
1.1 KiB
1.1 KiB
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 - Manage kubeconfig for clusters.