Difference between revisions of "Kubeadm"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(27 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{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. | ||
+ | * 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 9: | Line 17: | ||
:::<code>[[kubeadm config images pull]]</code> | :::<code>[[kubeadm config images pull]]</code> | ||
* <code>[[kubeadm token]]</code> to manage tokens for kubeadm join | * <code>[[kubeadm token]]</code> to manage tokens for kubeadm join | ||
− | * <code>kubeadm reset</code> to revert any changes made to this host by kubeadm init or kubeadm join | + | * <code>[[kubeadm reset]]</code> to revert any changes made to this host by kubeadm init or kubeadm join |
− | * <code>kubeadm version</code> to print the kubeadm version | + | * <code>[[kubeadm version]]</code> to print the kubeadm version |
− | * <code>kubeadm alpha</code> to preview a set of features made available for gathering feedback from the community | + | * <code>[[kubeadm alpha]]</code> 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 == | == Changelog == | ||
* [[v1.18]] Kubeadm: reject a node joining the cluster if a node with the same name already exists | * [[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 == | ||
+ | * <code>[[kubectl]]</code> | ||
+ | * [[Snap install Kubernetes]]: <code>[[snap install]] kubeadm --classic</code> | ||
+ | * [[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: