kubeadm: add page (#2495)

italian
Will Hegedus 2018-10-30 20:29:20 -04:00 committed by Starbeamrainbowlabs
parent 3e39c7c263
commit 682b8409be
1 changed files with 31 additions and 0 deletions

31
pages/common/kubeadm.md Normal file
View File

@ -0,0 +1,31 @@
# kubeadm
> Command line interface for creating and managing Kubernetes clusters.
- Create a Kubernetes master node:
`kubeadm init`
- Bootstrap a Kubernetes worker node and join it to a cluster:
`kubeadm join --token {{token}}`
- Create a new bootstrap token with a TTL of 12 hours:
`kubeadm token create --ttl {{12h0m0s}}`
- Check if the Kubernetes cluster is upgradeable and which versions are available:
`kubeadm upgrade plan`
- Upgrade Kubernetes cluster to a specified version:
`kubeadm upgrade apply {{version}}`
- View the kubeadm ConfigMap containing the cluster's configuration:
`kubeadm config view`
- Revert changes made to the host by 'kubeadm init' or 'kubeadm join':
`kubeadm reset`