KUBERNETES(1)(kubernetes)

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

πŸ’– KUBERNETES(1)(kubernetes) πŸ’–

okay bestie, so this is the kubernetes manual, section 1, and this page was originally written by Eric Paris back in Jan 2015 πŸŽ€ β€” yes it's ancient, yes it still slays. let's get into it ✨


✨ NAME ✨

kubeadm init phase upload-config kubeadm β€” Upload the kubeadm ClusterConfiguration to a ConfigMap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm init phase upload-config kubeadm [OPTIONS]

🌸 DESCRIPTION 🌸

ok so real talk: this command uploads the kubeadm ClusterConfiguration into a ConfigMap called kubeadm-config, and it lives in the kube-system namespace πŸ‘‘. no cap, that's the whole job. and why do we care? because this is what makes your system components configure themselves correctly AND keeps your upgrade experience smooth and seamless, like butter 🧈✨

alternatively, you can use kubeadm config. that's the other way to do it, iykyk 🫢


πŸ’… OPTIONS πŸ’…

  • --config="" β€” Path to a kubeadm configuration file. that's it, that's the whole vibe πŸ“„
  • --cri-socket="" β€” Path to the CRI socket to connect. if you leave it empty, kubeadm will try to auto-detect this value for you, so only reach for this option if you've got more than one CRI installed, or if your CRI socket is living that non-standard life πŸ”Œβœ¨
  • --dry-run=false β€” Don't apply any changes; just output what would be done. it's giving window shopping, not buying πŸ›οΈπŸ‘€
  • --kubeconfig="/etc/kubernetes/admin.conf" β€” The kubeconfig file to use when talking to the cluster. if the flag is not set, a set of standard locations can be searched for an existing kubeconfig file πŸ”

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones are inherited, so they're like... family heirlooms, but make it infrastructure πŸ’œ

  • --rootfs="" β€” The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. very main character energy, very "i'm going inside now" πŸŒ€
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. so basically three moods in one flag 😭

⭐ EXAMPLE ⭐

  # upload the configuration of your cluster
  kubeadm init phase upload-config kubeadm --config=myConfig.yaml

ate. no crumbs. πŸ”₯


πŸŽ€ 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 same bestie, we hope it's auto-generated now too πŸ™ˆ


and that's the whole page! this is from the Manuals manual set, User section, page KUBERNETES(1)(kubernetes), dated Jan 2015. go forth and upload that config, bestie πŸ’–βœ¨πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from