KUBERNETES(1)(kubernetes)

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

πŸ‘‘ KUBERNETES(1)(kubernetes) β€” the kubeadm reset glow-up

okay so bestie, welcome to the kubernetes manual (section 1, user commands, yes we're fancy) πŸ’… this page is about kubeadm reset, and honestly it's giving "undo button but make it dramatic."


✨ NAME ✨

kubeadm reset β€” does a best effort revert of all the changes kubeadm init or kubeadm join made to this host 🫢


🌸 SYNOPSIS 🌸

kubeadm reset [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

fr fr, it performs a best effort revert of changes made to this host by kubeadm init or kubeadm join. "best effort" is doing a LOT of heavy lifting in that sentence, just so you know πŸ‘€

The reset command runs these phases, in this order:

  • preflight β€” Run reset pre-flight checks
  • remove-etcd-member β€” Remove a local etcd member.
  • cleanup-node β€” Run cleanup node.

periodt. that's the whole pipeline.


πŸ’– OPTIONS πŸ’–

  • --cert-dir="/etc/kubernetes/pki" β€” the path to the directory where the certificates are stored. If specified, clean this directory. bye bye certs πŸŽ€
  • --cleanup-tmp-dir=false β€” cleanup the /etc/kubernetes/tmp directory.
  • --config="" β€” path to a kubeadm configuration file.
  • --cri-socket="" β€” path to the CRI socket to connect. If it's empty, kubeadm will try to auto-detect this value. only use this option if you have more than one CRI installed, or if you have a non-standard CRI socket 🧚
  • --dry-run=false β€” don't apply any changes; just output what would be done. the "look but don't touch" setting, iconic.
  • -f, --force=false β€” reset the node without prompting for confirmation. no take-backs, no are-you-sure, just vibes.
  • --ignore-preflight-errors=[] β€” a list of checks whose errors will be shown as warnings. Example: 'IsPrivilegedUser,Swap'. the value 'all' ignores errors from all checks 😭
  • --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.
  • --skip-phases=[] β€” list of phases to be skipped.
not me warning you: -f / --force skips the confirmation prompt entirely. the reset just happens. know that before you type it πŸ’€

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

these are the ones that trickle down from the big kubeadm parent, iykyk:

  • --rootfs="" β€” the path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path.
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version.

⭐ 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! main character energy from 2015, honestly πŸ‘‘


and that's the tea πŸ“ this was the User manual, KUBERNETES(1)(kubernetes), brought to you by Manuals β€” stay slay, stay reset 🫢✨

πŸ“¦ where this page comes from