kubeadm
kubeadm
[1] is a tool released in Kubernetes 1.13 in December 2018 for creating Kubernetes clusters.
Installation
- macOS: not homebrew package
- Ubuntu:
snap install kubeadm --classic
Commands
kubeadm --help
kubeadm init
to bootstrap a Kubernetes control-plane nodekubeadm init --pod-network-cidr=10.244.0.0/16
kubeadm join
to bootstrap a Kubernetes worker node and join it to the clusterkubeadm join --control-plane
kubeadm upgrade
to upgrade a Kubernetes cluster to a newer versionkubeadm config
if you initialized your cluster using kubeadm v1.7.x or lower, to configure your cluster for kubeadm upgrade
kubeadm token
to manage tokens for kubeadm joinkubeadm reset
to revert any changes made to this host by kubeadm init or kubeadm joinkubeadm version
to print the kubeadm versionkubeadm alpha
to preview a set of features made available for gathering feedback from the community
- Logs not available in files https://github.com/kubernetes/kubernetes/pull/42470
Changelog
- v1.18 Kubeadm: reject a node joining the cluster if a node with the same name already exists
CKA
- v1.24, v1.23, v1.20 Use kubeadm to install a basic cluster
- v1.23 Perform a version upgrade on a Kubernetes cluster using kubeadm
- v1.18 Install and use kubeadm to install, configure and manage Kubernetes clusters.
Related terms
kubectl
- Snap install Kubernetes:
snap install kubeadm --classic
- CNI, CSI
- Deploy EKS cluster using Terraform
- k9s
See also
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: wikiversity
Advertising: