Mark a node as master
Applies a label that specifies that a node is a master and a taint that forces workloads to be deployed accordingly.
Alpha Disclaimer: this command is currently alpha.
kubeadm alpha phase mark-master [flags]
# Applies master label and taint to the current node, functionally equivalent to what executed by kubeadm init. kubeadm alpha phase mark-master # Applies master label and taint to a specific node kubeadm alpha phase mark-master --node-name myNode
|Path to kubeadm config file. WARNING: Usage of a configuration file is experimental|
|help for mark-master|
|--kubeconfig string Default: "/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 are searched for an existing KubeConfig file.|
|The node name to which label and taints should apply|
|[EXPERIMENTAL] The path to the 'real' host root filesystem.|