KubeOne(1) KubeOne(1)

kubeone-kubeconfig-generate - Generate kubeconfig

kubeone kubeconfig generate [flags]

Generate kubeconfig with given certificate parameters.

--cn="" CommonName (CN) for the generated client certificate.

-h, --help[=false] help for generate

--on=[] OrganizationName (ON) for the generated client certificate.

-s, --super-admin[=false] Generate superadmin kubeconfig, shorthand for --cn @ --on system:masters

--ttl=1h0m0s Time To Live for the generated certificate.

-c, --credentials="" File to source credentials and secrets from

-d, --debug[=false] debug output with stacktrace

-l, --log-format="text" format for logging

-m, --manifest="./kubeone.yaml" Path to the KubeOne config

-t, --tfjson="" Source for terraform output in JSON - to read from stdin. If path is a file, contents will be used. If path is a dictionary, terraform output -json is executed in this path

-v, --verbose[=false] verbose output

kubeone kubeconfig generate -m mycluster.yaml -t tf.json --super-admin

kubeone-kubeconfig(1)

29-May-2025 Auto generated by spf13/cobra

May 2025 Auto generated by spf13/cobra