KUBERNETES(1)(kubernetes)

πŸ“¦
version 1.37.2 Β· 3 versions
, in arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ kubeadm kubeconfig user ✨

okay bestie, welcome to the kubeadm kubeconfig user manual page πŸ’– (it lives in the kubernetes manual, section 1, if you were wondering where to find it in the wild πŸ¦‹)


🌸 NAME 🌸

kubeadm kubeconfig user β€” spit out a kubeconfig file for an extra user, no cap πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

kubeadm kubeconfig user [OPTIONS]

✨ DESCRIPTION ✨

So literally what this does is output a kubeconfig file for an additional user. That's the whole vibe. You want somebody else to be able to talk to your cluster and you need a config file for them? Yeah. This. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

  • --client-name="" β€” the name of the user 🧚 it gets used as the CN</> if client certificates are created, iykyk
  • --config="" β€” path to a kubeadm configuration file πŸ“
  • --org=[] β€” the organizations of the client certificate 🌈 it gets used as the O</> if client certificates are created
  • --token="" β€” the token that should be used as the authentication mechanism for this kubeconfig, instead of client certificates πŸ”‘
  • --validity-period=8760h0m0s β€” the validity period of the client certificate ⏳ it's an offset from the current time, so it's counting from now, not from some fixed date, bestie

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

these come from the parent command, they're not this one's own, but they still show up to the party πŸŽ‰

  • --rootfs="" β€” the path to the 'real' host root filesystem πŸ—‚οΈ this will cause kubeadm to chroot into the provided path. yeah. it does that. 😭
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version πŸ“Œ

πŸ“ EXAMPLE πŸ“

# Output a kubeconfig file for an additional user named foo
kubeadm kubeconfig user --client-name=foo

# Output a kubeconfig file for an additional user named foo using a kubeadm config file bar
kubeadm kubeconfig user --client-name=foo --config=bar

like. look at that. two whole examples. we ate πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹


πŸ“œ HISTORY πŸ“œ

January 2015, originally compiled by Eric Paris (eparis at redhat dot com) based on the kubernetes source material, but hopefully they have been automatically generated since! πŸ™ˆ


and that's the whole page, bestie πŸ’– this cutie came out of the kubernetes manual, section 1, and the compiled date on it is Jan 2015 β€” compiled by Eric Paris, assembled for the User manuals πŸŽ€ slay, go make somebody a kubeconfig πŸ‘‘βœ¨

πŸ“¦ where this page comes from