kubeadm-init-phase-mark-control-plane(1)

kubeadm-init-phase-mark-control-plane1

Mark a node as a control-plane

Usage

kubeadm init phase mark-control-plane [OPTIONS]

Eric Paris Jan 2015

Overview

Mark a node as a control-plane

Options

--config=""
Path to a kubeadm configuration file.

--dry-run=false
Don't apply any changes; just output what would be done.

--node-name=""
Specify the node name.

Options inherited from parent commands

--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

Examples

  # 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

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!

From kubeadm 1.37.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.