KUBERNETES(1)(kubernetes)

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

✨ NAME ✨

kubeadm init phase kubeconfig super-admin β€” bestie, this generates a kubeconfig file for the super-admin πŸ’…

(Also hi, welcome, this page lives in the kubernetes manual, section 1. Buckle up πŸŽ€)


πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm init phase kubeconfig super-admin [OPTIONS]

🌸 DESCRIPTION 🌸

Okay so picture this: you need a kubeconfig for the super-admin, right? This command literally does that. It generates the kubeconfig file for the super-admin and saves it to super-admin.conf. That's it. That's the whole vibe. Iconic, honestly πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • --apiserver-advertise-address="" β€” the IP address the API Server is gonna advertise that it's listening on. If you don't set it, the default network interface gets used instead. No cap.
  • --apiserver-bind-port=6443 β€” the port for the API Server to bind to. Default is 6443, as always.
  • --cert-dir="/etc/kubernetes/pki" β€” the path where the certificates get saved and stored. Default is "/etc/kubernetes/pki" πŸŽ€
  • --config="" β€” path to a kubeadm configuration file.
  • --control-plane-endpoint="" β€” specify a stable IP address or DNS name for the control plane. Very main character of you.
  • --dry-run=false β€” don't apply any changes, just output what would be done. It's giving window shopping πŸ›οΈ
  • --kubeconfig-dir="/etc/kubernetes" β€” the path where the kubeconfig file gets saved. Default "/etc/kubernetes".
  • --kubernetes-version="stable-1" β€” choose a specific Kubernetes version for the control plane. Default is "stable-1".

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

These ones came from the parent command, they're like the cool older siblings:

  • --rootfs="" β€” the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. Fr fr, that's a whole thing.
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version.

πŸ”₯ SEE ALSO πŸ”₯

(yeah that trailing comma is in the original, we respect the source material here πŸ’€)


πŸ“œ 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 one's from the Manuals manual, User section, and it's version-stamped KUBERNETES(1)(kubernetes). Go generate that kubeconfig, you absolute legend 🫢✨

πŸ“¦ where this page comes from