Skip to content

Commit 6b24d8b

Browse files
committed
Kubeadm: Update cni, crictl and systemd versions
The section "Installing kubeadm, kubelet and kubectl:Without a package manager" in the "Installing kubeadm" doc contains outaded versions. The following has been edited: - containernetworking/plugins updated to v1.3.0 from v1.2.0 - kubernetes-sigs/cri-tools updated to v1.27.0 from v1.26.0 - kubernetes/release (Kubelet systemd) to v0.15.1 from v0.4.0 (from Aug 10, 2020 - almost 3 years old!)
1 parent cad38cb commit 6b24d8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ sudo systemctl enable --now kubelet
217217
Install CNI plugins (required for most pod network):
218218

219219
```bash
220-
CNI_PLUGINS_VERSION="v1.2.0"
220+
CNI_PLUGINS_VERSION="v1.3.0"
221221
ARCH="amd64"
222222
DEST="/opt/cni/bin"
223223
sudo mkdir -p "$DEST"
@@ -239,7 +239,7 @@ sudo mkdir -p "$DOWNLOAD_DIR"
239239
Install crictl (required for kubeadm / Kubelet Container Runtime Interface (CRI))
240240

241241
```bash
242-
CRICTL_VERSION="v1.26.0"
242+
CRICTL_VERSION="v1.27.0"
243243
ARCH="amd64"
244244
curl -L "https://github.com/kubernetes-sigs/cri-tools/releases/download/${CRICTL_VERSION}/crictl-${CRICTL_VERSION}-linux-${ARCH}.tar.gz" | sudo tar -C $DOWNLOAD_DIR -xz
245245
```
@@ -253,7 +253,7 @@ cd $DOWNLOAD_DIR
253253
sudo curl -L --remote-name-all https://dl.k8s.io/release/${RELEASE}/bin/linux/${ARCH}/{kubeadm,kubelet}
254254
sudo chmod +x {kubeadm,kubelet}
255255

256-
RELEASE_VERSION="v0.4.0"
256+
RELEASE_VERSION="v0.15.1"
257257
curl -sSL "https://raw.githubusercontent.com/kubernetes/release/${RELEASE_VERSION}/cmd/kubepkg/templates/latest/deb/kubelet/lib/systemd/system/kubelet.service" | sed "s:/usr/bin:${DOWNLOAD_DIR}:g" | sudo tee /etc/systemd/system/kubelet.service
258258
sudo mkdir -p /etc/systemd/system/kubelet.service.d
259259
curl -sSL "https://raw.githubusercontent.com/kubernetes/release/${RELEASE_VERSION}/cmd/kubepkg/templates/latest/deb/kubeadm/10-kubeadm.conf" | sed "s:/usr/bin:${DOWNLOAD_DIR}:g" | sudo tee /etc/systemd/system/kubelet.service.d/10-kubeadm.conf

0 commit comments

Comments
 (0)