KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, buckle up π this is a page from the kubernetes manual (section 1, the "User" commands section, obviously), and the original author credit goes to Eric Paris, way back in Jan 2015. We'll get to the cute little sign-off at the bottom, don't worry π
πΈ NAME πΈ
kubeadm join phase control-plane-prepare all β Prepare the machine for serving a control plane
π¦ SYNOPSIS π¦
kubeadm join phase control-plane-prepare all [OPTIONS]
π DESCRIPTION π
So basically? You're prepping this machine to serve a control plane. That's it. That's the whole vibe. Prepare the machine for serving a control plane β¨
π OPTIONS π
--apiserver-advertise-address=""β if this node is gonna host a brand new control plane instance, this is the IP address the API Server will advertise that it's listening on. If you don't set it, the default network interface gets used instead, no biggie.--apiserver-bind-port=6443β same situation, node hosting a new control plane instance? This is the port the API Server binds to. Default6443, iconic.--certificate-key=""β use this key to decrypt the certificate secrets thatinituploaded. Heads up: the certificate key is a hex encoded string that's an AES key of size 32 bytes π--config=""β path to a kubeadm configuration file. Simple as that.--control-plane=falseβ create a new control plane instance on this node. Default isfalse.--discovery-file=""β for file-based discovery, a file or URL to load cluster information from.--discovery-token=""β for token-based discovery, the token used to validate the cluster information it 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, literally just a colon in the docs, we don't make the rules π--discovery-token-unsafe-skip-ca-verification=falseβ for token-based discovery, this lets you join without--discovery-token-ca-cert-hashpinning. It's right there in the name bestie, it says unsafe π¨--dry-run=falseβ don't apply any changes, just output what would be done. A little look-see, a little window shopping ποΈ--node-name=""β specify the node name.--patches=""β path to a directory that contains files named"target[suffix][+patchtype].extension". For example,"kube-apiserver0+merge.yaml"or just"etcd.json"."target"can be one of"kube-apiserver","kube-controller-manager","kube-scheduler","etcd","kubeletconfiguration","corednsdeployment","kubeproxydaemonset"."patchtype"can be one of"strategic","merge"or"json"and they match the patch formats supported bykubectl. The default"patchtype"is"strategic"."extension"must be either"json"or"yaml"."suffix"is an optional string that can be used to determine which patches are applied first alpha-numerically. π--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. Two-for-one deal, we love efficiency π«Ά
π§ OPTIONS INHERITED FROM PARENT COMMANDS π§
--rootfs=""β the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.--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! π (the "hopefully" is doing so much heavy lifting there fr fr)
and that's the whole page, bestie π this came out of the Manuals source, User section, filed under KUBERNETES(1)(kubernetes), dated back to Jan 2015 with Eric Paris on the byline. slay, go prep that control plane πβ¨
π¦ where this page comes from
- arch rolling: kubeadm 1.37.2-1 Β· Apache-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.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
- 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