Improve Kubeadm reference doc (#6103)

* automatically-generated kubeadm reference doc

* user-mantained kubeadm reference doc
This commit is contained in:
Fabrizio Pandini
2017-11-29 18:44:59 +01:00
committed by Andrew Chen
parent 7dec42eba6
commit 31de9f07a3
75 changed files with 2822 additions and 1043 deletions
@@ -0,0 +1,32 @@
Mark a node as master
### Synopsis
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
```
### Examples
```
# 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
```
### Options
```
--config string Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)
--kubeconfig string The KubeConfig file to use when talking to the cluster (default "/etc/kubernetes/admin.conf")
--node-name string The node name to which label and taints should apply
```