KUBERNETES(1)(kubernetes)
β¨ KUBERNETES(1)(kubernetes) β¨
okay bestie, welcome to the kubeadm corner of the manual π This page lives in section 1 of the kubernetes manual, and it was originally written by Eric Paris back in Jan 2015. Yes, a real elder. We stan a legacy author π«Ά
πΈ NAME πΈ
kubeadm init phase kubeconfig admin β Generate a kubeconfig file for the admin to use and for kubeadm itself
π SYNOPSIS π
kubeadm init phase kubeconfig admin [OPTIONS]
π DESCRIPTION π
So here's the vibe: this command generates the kubeconfig file for the admin and for kubeadm itself, and then it saves that file to admin.conf. That's it, that's the whole job. Two birds, one very tidy little config file. Periodt. π
β¨ OPTIONS β¨
--apiserver-advertise-address=""β The IP address the API Server will advertise it's listening on. If you don't set it, the default network interface gets used instead. Default is an empty string, bestie.--apiserver-bind-port=6443β Port for the API Server to bind to. Default:6443π--cert-dir="/etc/kubernetes/pki"β The path where to save and store the certificates. Default:/etc/kubernetes/pki.--config=""β Path to a kubeadm configuration file. Default: empty.--control-plane-endpoint=""β Specify a stable IP address or DNS name for the control plane. Default: empty. Yes, stable. Your control plane deserves a fixed address, main character energy only β¨--dry-run=falseβ Don't apply any changes; just output what would be done. Default:false. Perfect for the "let me see the vibes first" girlies π--kubeconfig-dir="/etc/kubernetes"β The path where to save the kubeconfig file. Default:/etc/kubernetes.--kubernetes-version="stable-1"β Choose a specific Kubernetes version for the control plane. Default:stable-1.
π OPTIONS INHERITED FROM PARENT COMMANDS π
These ones come from the parent command, so they're not this command's, but they're still here and they still work π
--rootfs=""β The path to the'real'host root filesystem. This will cause kubeadm to chroot into the provided path. Default: empty.--version=falseβ--version,--version=rawprints version information and quits;--version=vX.Y.Z...sets the reported version. Default:false.
π¦ 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 iconic that we're still reading this in the group chat.
and that's a wrap, bestie π This one comes from the Manuals shelf, User section, version KUBERNETES(1)(kubernetes) β no cap, go forth and generate that kubeconfig πβ¨π¦
π¦ 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