KUBERNETES(1)(kubernetes)
π NAME π
okay so bestie, welcome to the kubernetes(1) manual page for kubeadm join phase control-plane-prepare kubeconfig β yes that's a mouthful, yes it's iconic, and yes it does exactly one job:
Generate the kubeconfig for the new control plane components β¨
πΈ SYNOPSIS πΈ
kubeadm join phase control-plane-prepare kubeconfig [OPTIONS]
π¦ DESCRIPTION π¦
Generate the kubeconfig for the new control plane components.
That's the whole vibe, fr fr. It's one phase, it does one thing, and it does it well. Slay. π
π OPTIONS π
--certificate-key=""β use this key to decrypt the certificate secrets thatinituploaded. Heads up: this key is a hex encoded string that's an AES key of size 32 bytes. No cap, exactly 32 bytes.--config=""β path to a kubeadm configuration file. Just a path, nothing spicy.--control-plane=falseβ create a new control plane instance on this node. Default isfalse, so you're opting in, bestie.--discovery-file=""β for file-based discovery: a file or a URL from which to load cluster information.--discovery-token=""β for token-based discovery: the token used to validate cluster information fetched from the API server.--discovery-token-ca-cert-hash=[]β for token-based discovery: validate that the root CA public key matches this hash. The format is":". Yes, that's the format listed, take it up with the manpage. π--discovery-token-unsafe-skip-ca-verification=falseβ for token-based discovery, this lets you join without--discovery-token-ca-cert-hashpinning. The flag literally has "unsafe" in the name, soβ¦ read the room. π--dry-run=falseβ don't apply any changes, just output what would be done. Perfect for the "let me see the fit before I buy it" moment.--tls-bootstrap-token=""β specify the token used to temporarily authenticate with the Kubernetes Control Plane while joining the node.--token=""β use this token for bothdiscovery-tokenandtls-bootstrap-tokenwhen those values aren't provided. One token, two jobs, main character energy. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
--rootfs=""β the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. Lowkey powerful, highkey real.--version=falseβ--version,--version=rawprints 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! π honestly relatable.
and that's the whole page, bestie π this one lives in the Manuals section, User subsection, filed under KUBERNETES(1)(kubernetes), dated Jan 2015 β go forth and generate those kubeconfigs, you've 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