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 bestie, welcome to the kubernetes manual page πŸ’– this one's from the Manuals crew, User section, and it's giving very specific, very powerful, very "you're about to touch a cluster so pay attention" energy. let's go 🫢


🌸 NAME 🌸

kubeadm init phase upload-config kubelet β€” uploads the kubelet component config to a ConfigMap, no cap πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm init phase upload-config kubelet [OPTIONS]

πŸ’… DESCRIPTION πŸ’…

so basically, this command takes the kubelet configuration that got extracted from the kubeadm InitConfiguration object, and uploads it to a kubelet-config ConfigMap in the cluster. that's it, that's the whole job. it's giving "middle step of a bigger glow-up" and honestly? iconic ⭐


πŸŽ€ OPTIONS πŸŽ€

  • --config="" β€” path to a kubeadm configuration file. like, where's your config at bestie πŸ“
  • --cri-socket="" β€” the path to the CRI socket to connect to. if you leave it empty, kubeadm will try to auto-detect this value for you 😌 only use this option if you have more than one CRI installed, or if your CRI socket is in a non-standard spot. iykyk πŸ’œ
  • --dry-run=false β€” don't actually apply any changes, just output what would be done. a little preview moment, a vibe check before the real thing ✨
  • --kubeconfig="/etc/kubernetes/admin.conf" β€” the kubeconfig file to use when talking to the cluster. if this flag isn't set, kubeadm can search a set of standard locations looking for an existing kubeconfig file πŸ”

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these come from the parent command, so they're technically not yours, they're family πŸ’–

  • --rootfs="" β€” the path to the 'real' host root filesystem. this will cause kubeadm to chroot into the path you provide. lowkey powerful, highkey worth reading twice 🌈
  • --version=false β€” --version and --version=raw print version information and then quit; --version=vX.Y.Z... sets the reported version πŸ“Œ

🌟 EXAMPLE 🌟

# Upload the kubelet configuration from the kubeadm Config file to a ConfigMap in the cluster.
kubeadm init phase upload-config kubelet --config kubeadm.yaml

πŸ’– 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! πŸ˜­πŸ’€


fr fr bestie, this page lives in the Manuals manual, User section, dated January 2015, under KUBERNETES(1)(kubernetes). go forth and upload that config πŸ’…βœ¨πŸŽ€
πŸ“¦ where this page comes from