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 page lives in section 1 of the manual, and it's the kubeadm init phase mark-control-plane one πŸ’– it was written by Eric Paris back in Jan 2015, and we're gonna get into all of it, no skipping, periodt.


🌸 NAME 🌸

kubeadm init phase mark-control-plane β€” Mark a node as a control-plane πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

kubeadm init phase mark-control-plane [OPTIONS]

πŸ¦‹ DESCRIPTION πŸ¦‹

Mark a node as a control-plane. that's the whole vibe, that's the whole job 🫢 it literally just slaps the control-plane status onto a node, and honestly? iconic behaviour.


✨ OPTIONS ✨

  • --config="" β€” Path to a kubeadm configuration file. like, the file that tells kubeadm what's up πŸ’…
  • --dry-run=false β€” Don't apply any changes; just output what would be done. so it's the "let me rehearse my speech in the mirror" of flags πŸͺž nothing actually happens, you just get to see the plan.
  • --node-name="" β€” Specify the node name. if you don't say who, it's not gonna guess, bestie 🎯

πŸ’œ OPTIONS INHERITED FROM PARENT COMMANDS πŸ’œ

these ones came from the parent command, so they're like the family heirlooms of this tool 😭

  • --rootfs="" β€” The path to the 'real' host root filesystem. This will cause kubeadm to chroot into the provided path. yes, literally chroot, it's giving main character energy in the filesystem 🌈
  • --version=false β€” --version, --version=raw prints version information and quits; --version=vX.Y.Z... sets the reported version. so it can tell you the version, or let you be the version, your call πŸ’«

πŸ“ EXAMPLE πŸ“

# Applies control-plane label and taint to the current node, functionally equivalent to what executed by kubeadm init.
kubeadm init phase mark-control-plane --config config.yaml

# Applies control-plane label and taint to a specific node
kubeadm init phase mark-control-plane --node-name myNode

see? first one is "do the thing to whoever's here right now", second one is "do the thing to myNode specifically" 🎯 both apply the control-plane label and taint, just so we're clear πŸ‘‘


πŸ”₯ 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, imagine hand-maintaining all this forever, couldn't be them.


and that's the whole page, bestie πŸ’– this was the User manuals edition, KUBERNETES(1)(kubernetes), compiled with love (and by Eric Paris) back in January 2015 β€” stay slaying, drink water, and always --dry-run before you commit 🫢✨

πŸ“¦ where this page comes from