KUBERNETES(1)(kubernetes)
β¨ kubeadm init phase certs apiserver-kubelet-client π
okay so bestie, you're in the KUBERNETES(1)(kubernetes)</> manual, section 1, and we're about to talk about one very specific lil' certificate generator. yes it's a whole manual page for one phase of one subcommand. and yes, it's iconic</> of them.
πΈ NAME πΈ
kubeadm init phase certs apiserver-kubelet-client β generate the certificate for the API server to connect to kubelet π«Ά
π SYNOPSIS π
kubeadm init phase certs apiserver-kubelet-client [OPTIONS]
π¦ DESCRIPTION π¦
So here's the vibe: this generates the certificate that lets the API server</> talk to kubelet</>, and it saves them into the files apiserver-kubelet-client.crt and apiserver-kubelet-client.key. two files, one job, no drama π
and listen β if both files already exist, kubeadm literally skips the whole generation step and just uses the existing files. it's giving "if it ain't broke". lowkey respectful of your time fr fr.
β¨ OPTIONS β¨
--cert-dir="/etc/kubernetes/pki"β the path where to save and store the certificates. that's the default, and that's where they live unless you say otherwise π--config=""β path to a kubeadm configuration file. empty by default, so you gotta point it somewhere if you want it.--dry-run=falseβ don't apply any changes, just output what would be done. it's the "window shopping" mode, no cap ποΈ--kubernetes-version="stable-1"β choose a specific Kubernetes version for the control plane. default isstable-1.
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones come from the parent commands, so they're just vibing here too:
--rootfs=""β the path to the'real'host root filesystem. this will cause kubeadm to chroot</> into the provided path. yes, chroot. it means what you think it means. proceed with main character energy but also with care π§--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. so it's either "tell me who you are" or "be this version instead" π
π 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 same energy, bestie.
and that's the whole page, you ate it, no crumbs.</> this little gem lives in the KUBERNETES(1)(kubernetes)</> manual, section User</>, dated January 2015</>, compiled by Eric Paris</> β so like, vintage, but make it cluster orchestration π β¨
π¦ 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