KUBERNETES(1)(kubernetes)

πŸ“¦
version 1.37.2 Β· 3 versions
, in arch rolling, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ KUBERNETES(1)(kubernetes) ✨

okay so bestie, you found the kubernetes manual, and we're gonna read it together like it's a group chat πŸ’–


🌸 NAME 🌸

kubeadm init phase kubeconfig kubelet β€” generate a kubeconfig file for the kubelet to use, and like, only for cluster bootstrapping purposes. that's the whole vibe, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm init phase kubeconfig kubelet [OPTIONS]

πŸŽ€ DESCRIPTION πŸŽ€

so what this does is generate the kubeconfig file that the kubelet is gonna use, and it saves it to the kubelet.conf file. that's it. that's the job. πŸ’…

⚠️ okay important bestie, listen: this should only be used for cluster bootstrapping purposes. once your control plane is up, you should request all kubelet credentials from the CSR API. periodt. don't be out here using it for anything else, i'm literally begging πŸ™ˆ

πŸ’– 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 behaviour, cute, fine.
  • --apiserver-bind-port=6443 β€” the port the API Server binds to. it's 6443, iconic number, don't touch it unless you know what you're doing.
  • --cert-dir="/etc/kubernetes/pki" β€” the path where the certificates get saved and stored. default is /etc/kubernetes/pki, so that's where all your certs live.
  • --config="" β€” path to a kubeadm configuration file. empty by default, so you gotta tell it where yours is.
  • --control-plane-endpoint="" β€” specify a stable IP address or DNS name for the control plane. stability queen πŸ‘‘
  • --dry-run=false β€” don't apply any changes, just output what would be done. it's giving "let me preview this before i commit," and honestly? main character energy.
  • --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 is stable-1, so specify if you want something else.
  • --node-name="" β€” specify the node name. empty by default, so set it yourself.

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these came from the parent commands, they're family, we love them 🫢

  • --rootfs="" β€” the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the provided path. yes, chroot. real ones know.
  • --version=false β€” --version, or --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. so like, it can tell you the version OR set it. multitasking icon.

⭐ 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! πŸ’€ like bestie really said "i hope a machine does this now" and honestly, valid.


okay that's the whole page! this lil manual came from the User manuals, tagged KUBERNETES(1)(kubernetes). go forth and bootstrap, bestie πŸ’œβœ¨

πŸ“¦ where this page comes from