22title : kubeadmのインストール
33content_template : templates/task
44weight : 20
5+ card :
6+ name : setup
7+ weight : 20
8+ title : kubeadmセットアップツールのインストール
59---
610
711{{% capture overview %}}
@@ -90,7 +94,6 @@ Other CRI-based runtimes include:
9094- [ containerd] ( https://github.com/containerd/cri ) (CRI plugin built into containerd)
9195- [ cri-o] ( https://github.com/kubernetes-incubator/cri-o )
9296- [ frakti] ( https://github.com/kubernetes/frakti )
93- - [ rkt] ( https://github.com/kubernetes-incubator/rktlet )
9497
9598Refer to the [ CRI installation instructions] ( /docs/setup/cri ) for more information.
9699
@@ -106,7 +109,7 @@ You will install these packages on all of your machines:
106109* ` kubectl ` : the command line util to talk to your cluster.
107110
108111kubeadm ** will not** install or manage ` kubelet ` or ` kubectl ` for you, so you will
109- need to ensure they match the version of the Kubernetes control panel you want
112+ need to ensure they match the version of the Kubernetes control plane you want
110113kubeadm to install for you. If you do not, there is a risk of a version skew occurring that
111114can lead to unexpected, buggy behaviour. However, _ one_ minor version skew between the
112115kubelet and the control plane is supported, but the kubelet version may never exceed the API
@@ -119,8 +122,10 @@ This is because kubeadm and Kubernetes require
119122[ special attention to upgrade] ( /docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-11/ ) .
120123{{</ warning >}}
121124
122- For more information on version skews, please read our
123- [ version skew policy] ( /docs/setup/independent/create-cluster-kubeadm/#version-skew-policy ) .
125+ For more information on version skews, see:
126+
127+ * Kubernetes [ version and version-skew policy] ( /docs/setup/version-skew-policy/ )
128+ * Kubeadm-specific [ version skew policy] ( /docs/setup/independent/create-cluster-kubeadm/#version-skew-policy )
124129
125130{{< tabs name="k8s_install" >}}
126131{{% tab name="Ubuntu, Debian or HypriotOS" %}}
@@ -154,7 +159,7 @@ sed -i 's/^SELINUX=enforcing$/SELINUX=permissive/' /etc/selinux/config
154159
155160yum install -y kubelet kubeadm kubectl --disableexcludes=kubernetes
156161
157- systemctl enable kubelet && systemctl start kubelet
162+ systemctl enable --now kubelet
158163```
159164
160165 ** Note:**
@@ -172,6 +177,7 @@ systemctl enable kubelet && systemctl start kubelet
172177 EOF
173178 sysctl --system
174179 ` ` `
180+ - Make sure that the ` br_netfilter` module is loaded before this step. This can be done by running ` lsmod | grep br_netfilter` . To load it explicitly call ` modprobe br_netfilter` .
175181{{% /tab %}}
176182{{% tab name=" Container Linux" %}}
177183Install CNI plugins (required for most pod network):
@@ -208,7 +214,7 @@ curl -sSL "https://raw.githubusercontent.com/kubernetes/kubernetes/${RELEASE}/bu
208214Enable and start ` kubelet` :
209215
210216` ` ` bash
211- systemctl enable kubelet && systemctl start kubelet
217+ systemctl enable --now kubelet
212218` ` `
213219{{% /tab %}}
214220{{< /tabs > }}
0 commit comments