KUBERNETES(1)(kubernetes)

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

✨ KUBERNETES(1)(kubernetes) ✨

okay bestie, sit down, hydrate, and let's talk about kubeadm init phase upload-certs πŸ’–

This one lives in the kubernetes manual, section 1 (that's the user commands girlies 🫢). The OG page was originally compiled by Eric Paris back in Jan 2015, and honestly? The glow-up since then has been immaculate. ✨


🌸 NAME 🌸

kubeadm init phase upload-certs β€” Upload certificates to kubeadm-certs πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

kubeadm init phase upload-certs [OPTIONS]

That's it. That's the whole vibe. One command, some options, go off. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

So like β€” this phase does exactly one thing and it does it well: it uploads the control plane certificates to the kubeadm-certs Secret. πŸŽ€ That's the entire plot. No subplots, no side quests, just certs going into a Secret like they're sliding into the DMs. πŸ’Œ


πŸ’– OPTIONS πŸ’–

Bestie, here's the full menu, no skips, no cuts:

  • --certificate-key="" β€” the key used to encrypt the control-plane certificates inside the kubeadm-certs Secret. It's a hex encoded string that's an AES key, size 32 bytes. So yes, it's literally a 32-byte AES key wearing a hex costume. πŸ”
  • --config="" β€” path to a kubeadm configuration file. Where your settings live, iykyk. πŸ“„
  • --dry-run=false β€” don't apply any changes; just output what would be done. It's giving "let me rehearse the conversation in the shower first" energy. 🚿 No cap, nothing actually changes.
  • --kubeconfig="/etc/kubernetes/admin.conf" β€” the kubeconfig file to use when talking to the cluster. And if you don't set this flag? A set of standard locations gets searched for an existing kubeconfig file, so it'll go looking for you like a good friend. πŸ•΅οΈβ€β™€οΈ
  • --skip-certificate-key-print=false β€” don't print the key used to encrypt the control-plane certificates. Set it and the key stays quiet. 🀫
  • --upload-certs=false β€” upload control-plane certificates to the kubeadm-certs Secret. The main event, the moment, the ~slay~. πŸ’…

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

These got handed down from the parent command like family heirlooms but make it Kubernetes:

  • --rootfs="" β€” the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. Yes, it said real with quotes, that's the original being shady, I'm just the messenger. 🫠
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. Tell it who it is or tell it who to pretend to be. 🌈

🌟 SEE ALSO 🌟

Go read the parent, she's the blueprint. πŸ’œ


πŸ’€ 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! 😭 (That's a direct quote, the manpage said it, not me.)


okay that's the whole page!! mwah 🫢 This lil' icon comes to you from the Manuals section, tagged User, filed under KUBERNETES(1)(kubernetes), and dated January 2015. Periodt. βœ¨πŸ’–πŸŽ€

πŸ“¦ where this page comes from