KUBERNETES(1)(kubernetes)

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

πŸ’– KUBERNETES(1)(kubernetes) β€” kubeadm init phase kubeconfig scheduler πŸ’–

okay bestie, so this is a page from the kubernetes manual set, and honestly? it's a lil niche but it's iconic in its own way. sit down, grab a boba, we're doing this. πŸ§‹βœ¨


🌸 NAME 🌸

kubeadm init phase kubeconfig scheduler β€” generate a kubeconfig file for the scheduler to use πŸŽ€

no cap, that's the whole job. it makes a kubeconfig. for the scheduler. she's a specialist, okay?


✨ SYNOPSIS ✨

kubeadm init phase kubeconfig scheduler [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

So here's the vibe: this command generates the kubeconfig file that the scheduler is gonna use, and it saves it to the scheduler.conf file. that's it. that's the whole thing. it's giving "one job, done flawlessly." πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

okay this is the part where you actually pay attention, because every single one of these matters and I'm not letting you skim. πŸ”₯

  • --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 instead. (default is "", aka nothing, aka "figure it out yourself bestie")
  • --apiserver-bind-port=6443 β€” the port for the API Server to bind to. default is 6443, classic.
  • --cert-dir="/etc/kubernetes/pki" β€” the path where you save and store the certificates. default lives at /etc/kubernetes/pki πŸ—‚οΈ
  • --config="" β€” path to a kubeadm configuration file. default is empty string.
  • --control-plane-endpoint="" β€” specify a stable IP address or DNS name for the control plane. stability? we love her. default empty.
  • --dry-run=false β€” don't apply any changes, just output what would be done. peek behind the curtain, no consequences. default is false.
  • --kubeconfig-dir="/etc/kubernetes" β€” the path where to save the kubeconfig file. 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 come from the parent command, so they're like... family heirlooms. 🫢

  • --rootfs="" β€” the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the provided path. (yes, actual chroot. it's a whole thing.) default is "".
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. default is false.

πŸ“ SEE ALSO πŸ“

(yes there's a comma after it in the original, and yes I'm keeping it, because we don't edit the ancestors around 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! πŸ˜­πŸ™ˆ


heads up bestie: I kept every option, every default, every path, every value exactly as written. the vibes are mine, the facts are theirs. πŸŽ€

and that's the page!! compiled as part of the Manuals set, User section, under the KUBERNETES(1)(kubernetes) banner, with the whole thing dated back to that January 2015 energy. slay, we're done here. go run your scheduler. βœ¨πŸ‘‘πŸ’–

πŸ“¦ where this page comes from