KUBERNETES(1)(kubernetes)

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

πŸ’– KUBERNETES β€” section 1, bestie πŸ’–

okay so this is a manual page from the kubernetes manuals, section 1 β€” the user commands zone. Written up by Eric Paris back in Jan 2015. Buckle up, we're generating kubeconfigs and it's gonna be adorable. πŸŽ€


✨ NAME ✨

kubeadm init phase kubeconfig controller-manager β€” generate a kubeconfig file for the controller manager to use πŸ¦‹


✨ SYNOPSIS ✨

kubeadm init phase kubeconfig controller-manager [OPTIONS]

✨ DESCRIPTION ✨

So here's the vibe: this command generates the kubeconfig file for the controller manager to use, and then it saves it to the controller-manager.conf file. That's it. That's the whole job. It's giving ✨focused✨. πŸ’…


✨ OPTIONS ✨

  • --apiserver-advertise-address="" β€” the IP address the API Server will advertise it's listening on. If you don't set it, the default network interface gets used. no thoughts, just vibes 🌸
  • --apiserver-bind-port=6443 β€” the port for the API Server to bind to. six four four three, iconic number, we love her πŸ‘‘
  • --cert-dir="/etc/kubernetes/pki" β€” the path where to save and store the certificates. πŸ“
  • --config="" β€” path to a kubeadm configuration file. πŸ—‚οΈ
  • --control-plane-endpoint="" β€” specify a stable IP address or DNS name for the control plane. stable is the keyword here bestie, we love something reliable 🫢
  • --dry-run=false β€” don't apply any changes; just output what would be done. pretend mode!! literally just a rehearsal, nothing actually happens πŸ™ˆ
  • --kubeconfig-dir="/etc/kubernetes" β€” the path where to save the kubeconfig file. πŸ’Ύ
  • --kubernetes-version="stable-1" β€” choose a specific Kubernetes version for the control plane. ⭐

✨ OPTIONS INHERITED FROM PARENT COMMANDS ✨

these ones come from the parent command, they're family πŸ’œ

  • --rootfs="" β€” the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. heads up: it literally chroots in there, so know what you're doing 😭
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. 🏷️

✨ 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! fingers crossed fr fr 🀞


and that's the whole page bestie!! it came from the Manuals section, User subsection, and it's tagged KUBERNETES(1)(kubernetes) β€” go forth and generate those kubeconfigs, you absolute main character πŸ’–βœ¨πŸŽ€πŸ¦‹πŸ’…

πŸ“¦ where this page comes from