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, so this is a page from the KUBERNETES(1)(kubernetes) manual β€” the Kubernetes one, the big one, the one that runs your whole cluster πŸ’œ β€” and today we're looking at a little subcommand that lives deep in the kubeadm reset phase family tree. Buckle up, it's giving spring cleaning energy 🧹✨


🌸 NAME 🌸

kubeadm reset phase cleanup-node β€” Run cleanup node.

like... it cleans up the node. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

kubeadm reset phase cleanup-node [OPTIONS]

πŸŽ€ DESCRIPTION πŸŽ€

Run cleanup node.

(okay so the manpage is literally that short here and I'm not gonna invent lore that isn't there πŸ™ˆ β€” this phase does the cleanup node thing, and you point it at stuff with the options below. periodt.)


πŸ’… OPTIONS πŸ’…

  • --cert-dir="/etc/kubernetes/pki" β€” The path to the directory where the certificates are stored. If specified, clean this directory. πŸ—‚οΈπŸ’– (default is literally /etc/kubernetes/pki, so heads up β€” it will go through that dir if you tell it to.)
  • --cleanup-tmp-dir=false β€” Cleanup the "/etc/kubernetes/tmp" directory. ✨ (defaults to false, so it's a no-op unless you flip it.)
  • --cri-socket="" β€” Path to the CRI socket to connect. If empty kubeadm will try to auto-detect this value; use this option only if you have more than one CRI installed or if you have non-standard CRI socket. πŸ”ŒπŸ‘€ (default is empty string, i.e. auto-detect mode, which is usually what you want.)
  • --dry-run=false β€” Don't apply any changes; just output what would be done. 🫧πŸ”₯ (the safe little preview mode, default false. lowkey the responsible choice, bestie.)

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these ones aren't from this command specifically, they're inherited from the parent commands β€” family heirlooms, iykyk πŸ‘‘

  • --rootfs="" β€” The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. πŸŒ€ (default empty string, and yes it really does the chroot thing.)
  • --version=false β€” --version, --version=raw prints 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! πŸ˜­πŸ™ˆ

ngl bestie, be careful with --cert-dir and --cleanup-tmp-dir β€” those are deletions, not decorations. when in doubt, run it with --dry-run first and read what it says. πŸ’€βœ¨

and that's the whole page, babe 🫢 β€” this little cutie comes to you from the Manuals / User corner of the KUBERNETES(1)(kubernetes) universe, dated way back in Jan 2015 (the January 2015 era, iconic behavior for a 2015 doc πŸ’…). mwah, go clean your node safely, slay πŸŽ€

πŸ“¦ where this page comes from