KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, sit down, hydrate, and let me tell you about the kubernetes manual page β this one's the kubeadm init phase certs etcd-peer</p> situation and it's lowkey iconic π
π NAME π
kubeadm init phase certs etcd-peer β bestie, this generates the certificate for etcd nodes to communicate with each other π¦
πΈ SYNOPSIS πΈ
kubeadm init phase certs etcd-peer [OPTIONS]
that's it. that's the whole vibe. [OPTIONS] and go π«Ά
π DESCRIPTION π
So like β this command generates the certificate for etcd nodes to communicate with each other, and saves them into the etcd/peer.crt and etcd/peer.key files. cute, right? π₯
Default SANs are localhost, 127.0.0.1, 127.0.0.1, ::1. yes, 127.0.0.1 is in there twice, no I will not be explaining that, it's just what it is π
Not me about to say the important part: if both files already exist, kubeadm skips the generation step and existing files will be used. so if you were expecting a fresh cert, check first, bestie π
π OPTIONS π
--cert-dir="/etc/kubernetes/pki"β the path where to save and store the certificates π--config=""β path to akubeadmconfiguration file πΈ--dry-run=falseβ don't apply any changes; just output what would be done. it's giving "look but don't touch" β¨--kubernetes-version="stable-1"β choose a specific Kubernetes version for the control plane π¦
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
--rootfs=""β the path to the'real'host root filesystem. this will causekubeadmto chroot into the provided path. lowkey powerful, use with intention π--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! ngl that last part is such a mood π
and that's the whole page, bestie β KUBERNETES(1)(kubernetes), from the Manuals section, sitting pretty in User, dated January 2015 β¨ go forth and generate those etcd peer certs, you absolute main character ππ
π¦ 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