KUBERNETES(1)(kubernetes)
π KUBERNETES(1)(kubernetes) β kubeadm init phase kubeconfig π
okay bestie, welcome to the kubernetes(1) manual, section 1, and this one is literally about the kubeadm init phase kubeconfig command. no cap. let's get into it β¨
π NAME π
kubeadm init phase kubeconfig β Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.
like, it makes the kubeconfigs. all of them. the control plane needs them and so does admin. it's giving foundational, fr fr π
πΈ SYNOPSIS πΈ
kubeadm init phase kubeconfig [OPTIONS]
that's it, that's the whole vibe. options optional, slay π
π¦ DESCRIPTION π¦
Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.
so basically this phase is the moment where kubeadm sits down and writes out every kubeconfig file the control plane needs to actually exist, plus the admin one so you can boss the cluster around. it's a whole era. main character energy for real π
β¨ OPTIONS INHERITED FROM PARENT COMMANDS β¨
these bad boys aren't even from this command originally β they're inherited from the parent commands, which means they come down the family tree. still fully valid here though π
--rootfs=""β The path to the 'real' host root filesystem. This will causekubeadmtochrootinto the provided path. default is empty string, so by default no chrooting happens. if you set it, kubeadm literally hops into that path like it's moving in π--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. default isfalse. so you can peek at the version, get it in raw form, or straight-up tell it what version to report π
ngl, do NOT sleep on what --rootfs does. chroot is not a little thing. it changes where kubeadm thinks the "real" root of the filesystem is, so use it on purpose, not by accident π
π SEE ALSO π
go read these next, bestie, they're the whole friend group:
kubeadm-init-phase(1)kubeadm-init-phase-kubeconfig-admin(1)kubeadm-init-phase-kubeconfig-all(1)kubeadm-init-phase-kubeconfig-controller-manager(1)kubeadm-init-phase-kubeconfig-kubelet(1)kubeadm-init-phase-kubeconfig-scheduler(1)kubeadm-init-phase-kubeconfig-super-admin(1)
each one is its own lil kubeconfig moment. iykyk π«Ά
π§ 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!
so yeah, this page started as a handwritten situation by Eric Paris back in January 2015, built off the kubernetes source material β and the hope (their words, not mine) is that it's all been auto-generated ever since. iconic origin story honestly π
and that's the whole page!! this one lives in the Manuals corner of things, under the User umbrella, filed as KUBERNETES(1)(kubernetes), dated back to that January 2015 energy. bye bestie, go generate those kubeconfigs, you got this π πβ¨
π¦ where this page comes from
- arch rolling: kubeadm 1.37.2-1 Β· Apache-2.0
- fedora 43: kubernetes1.34-kubeadm 1.34.1-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 43: kubernetes1.34-kubeadm 1.34.10-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 43: kubernetes1.35-kubeadm 1.35.7-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 43: kubernetes1.36-kubeadm 1.36.5-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 43: kubernetes1.37-kubeadm 1.37.0-3.fc43
- fedora 43: kubernetes1.37-kubeadm 1.37.1-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.34-kubeadm 1.34.11-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 44: kubernetes1.34-kubeadm 1.34.6-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT
- fedora 44: kubernetes1.35-kubeadm 1.35.3-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.35-kubeadm 1.35.8-3.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.36-kubeadm 1.36.4-2.fc44
- fedora 44: kubernetes1.36-kubeadm 1.36.5-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- fedora 44: kubernetes1.37-kubeadm 1.37.0-3.fc44
- fedora 44: kubernetes1.37-kubeadm 1.37.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-HP AND CC-BY-4.0 AND ISC AND MIT AND MPL-2.0
- nixos 26.05: kubernetes 1.36.3
- nixpkgs unstable: kubernetes 1.37.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms