kubeadm
Interface for creating and managing Kubernetes clusters. More information: https://kubernetes.io/docs/reference/setup-tools/kubeadm/.
- Create a Kubernetes control plane:
kubeadm init
- Bootstrap a Kubernetes worker node and join it to a cluster:
kubeadm join --token
- Create a new bootstrap token with a TTL of 12 hours:
kubeadm token create --ttl
- 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
- 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
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
