Difference between revisions of "Kubeadm"
Jump to navigation
Jump to search
(→CKA) |
|||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
<code>kubeadm</code><ref>https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/</ref> is a tool released in [[Kubernetes 1.13]] in December 2018 for creating Kubernetes clusters. | <code>kubeadm</code><ref>https://kubernetes.io/docs/reference/setup-tools/kubeadm/kubeadm/</ref> is a tool released in [[Kubernetes 1.13]] in December 2018 for creating Kubernetes clusters. | ||
+ | * https://kubernetes.io/docs/reference/setup-tools/kubeadm/ | ||
+ | == Installation == | ||
+ | * [[macOS]]: not [[homebrew]] package | ||
+ | * [[Ubuntu]]: <code>[[snap install kubeadm --classic]]</code> | ||
+ | |||
+ | == Commands == | ||
+ | * <code>[[kubeadm --help]]</code> | ||
* <code>[[kubeadm init]]</code> to bootstrap a Kubernetes [[control-plane]] node | * <code>[[kubeadm init]]</code> to bootstrap a Kubernetes [[control-plane]] node | ||
** <code>[[kubeadm init]] --[[pod]]-network-cidr=10.244.0.0/16</code> | ** <code>[[kubeadm init]] --[[pod]]-network-cidr=10.244.0.0/16</code> | ||
Line 16: | Line 23: | ||
* Logs not available in files https://github.com/kubernetes/kubernetes/pull/42470 | * Logs not available in files https://github.com/kubernetes/kubernetes/pull/42470 | ||
− | |||
== Changelog == | == Changelog == | ||
Line 22: | Line 28: | ||
== [[CKA]] == | == [[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.23]] Perform a [[version upgrade]] on a Kubernetes cluster using kubeadm | ||
− | |||
− | |||
* [[v1.18]] Install and use kubeadm to install, configure and manage Kubernetes clusters. | * [[v1.18]] Install and use kubeadm to install, configure and manage Kubernetes clusters. | ||
Line 30: | Line 35: | ||
* <code>[[kubectl]]</code> | * <code>[[kubectl]]</code> | ||
* [[Snap install Kubernetes]]: <code>[[snap install]] kubeadm --classic</code> | * [[Snap install Kubernetes]]: <code>[[snap install]] kubeadm --classic</code> | ||
− | * [[CNI]] | + | * [[CNI]], [[CSI]] |
+ | * [[Deploy EKS cluster using Terraform]] | ||
+ | * [[k9s]] | ||
== See also == | == See also == | ||
* {{kubeadm}} | * {{kubeadm}} | ||
− | |||
− | |||
[[Category:Kubernetes]] | [[Category:Kubernetes]] |
Latest revision as of 09:14, 3 December 2022
kubeadm
[1] is a tool released in Kubernetes 1.13 in December 2018 for creating Kubernetes clusters.
Installation[edit]
- macOS: not homebrew package
- Ubuntu:
snap install kubeadm --classic
Commands[edit]
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[edit]
- v1.18 Kubeadm: reject a node joining the cluster if a node with the same name already exists
CKA[edit]
- 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[edit]
kubectl
- Snap install Kubernetes:
snap install kubeadm --classic
- CNI, CSI
- Deploy EKS cluster using Terraform
- k9s
See also[edit]
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: