1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-19 09:15:24 +02:00
tldr/pages/common/kubeadm.md
Managor 4b1e0196d1
common/*: reduce usage of "command-line" (part 3) (#16951)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
2025-06-28 13:12:44 +00:00

32 lines
781 B
Markdown

# 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 {{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`