KubeOne(1)

πŸ“¦ version 1.12.3, in arch rolling

πŸ’… KubeOne(1) β€” the kubeconfig generate glow-up

okay bestie, welcome to the KubeOne(1) manual page ✨ this is the one where we make you a kubeconfig. yes. THE kubeconfig. it's giving "keys to the kingdom" and honestly? iconic πŸŽ€


✨ NAME ✨

kubeone-kubeconfig-generate β€” generate kubeconfig πŸ¦‹


✨ SYNOPSIS ✨

kubeone kubeconfig generate [flags]

✨ DESCRIPTION ✨

so basically πŸ’« you generate a kubeconfig, and you do it with the certificate parameters you pass in. that's the whole vibe. cert params in β†’ kubeconfig out. slay 🌸


✨ OPTIONS ✨

  • --cn="" β€” the CommonName (CN) for the client certificate you're generating, default is empty string πŸŽ€
  • -h, --help[=false] β€” help for generate. classic. the little lifesaver ✨
  • --on=[] β€” the OrganizationName (ON) for the generated client certificate. it's a list, default empty πŸ”₯
  • -s, --super-admin[=false] β€” generate a superadmin kubeconfig 🫢 this is literally just shorthand for --cn @ --on system:masters. main character energy, no cap πŸ‘‘
  • --ttl=1h0m0s β€” Time To Live for the generated certificate. default is 1h0m0s ⭐

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these are the family hand-me-downs, and honestly they ate πŸ’œ

  • -c, --credentials="" β€” file to source credentials and secrets from πŸ”
  • -d, --debug[=false] β€” debug output, WITH stacktrace. very "show me everything" of it 😭
  • -l, --log-format="text" β€” format for logging, defaults to text πŸ“
  • -m, --manifest="./kubeone.yaml" β€” path to the KubeOne config. default be ./kubeone.yaml πŸ—‚οΈ
  • -t, --tfjson="" β€” source for terraform output in JSON. to read from stdin. if the path is a file, the contents will be used. if the path is a dictionary, terraform output -json is executed in this path 🧚
  • -v, --verbose[=false] β€” verbose output, for when you simply must know everything πŸ’…

✨ EXAMPLE ✨

here's your little template bestie, copy it exactly πŸ“

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

πŸ¦‹ SEE ALSO πŸ¦‹

kubeone-kubeconfig(1) β€” go read the parent, it's the whole tree 🌳


πŸ’€ HISTORY πŸ’€

  • 8-Feb-2026 β€” auto generated by spf13/cobra πŸ™ˆ

ngl, this page is auto generated, so if something looks weird it wasn't a human's fault. zero notes, moving on πŸ’…

okay that's the whole thing!! go forth and generate, bestie 🌟

sign-off time 🫢 this little number was auto generated by spf13/cobra and stamped Feb 2026 β€” that's the source, the version vibe, and the date, all wrapped up with a bow πŸŽ€βœ¨

πŸ“¦ where this page comes from