From 3ac8de9843cf0562bccb25c8fb75ac4ee360b744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E6=A9=98=20=E9=9B=AB=E9=9C=9E?= Date: Sun, 2 Jul 2023 11:13:42 +0900 Subject: [PATCH] [zh] update tool version in install-kubeadm without package manager case `CNI_PLUGINS_VERSION`, `CRICTL_VERSION` and `RELEASE_VERSION` in English has been updated, synchronize changes in Chinese --- .../production-environment/tools/kubeadm/install-kubeadm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md index e64803e332..e98102b5f8 100644 --- a/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md +++ b/content/zh-cn/docs/setup/production-environment/tools/kubeadm/install-kubeadm.md @@ -377,7 +377,7 @@ Install CNI plugins (required for most pod network): 安装 CNI 插件(大多数 Pod 网络都需要): ```bash -CNI_PLUGINS_VERSION="v1.2.0" +CNI_PLUGINS_VERSION="v1.3.0" ARCH="amd64" DEST="/opt/cni/bin" sudo mkdir -p "$DEST" @@ -409,7 +409,7 @@ Install crictl (required for kubeadm / Kubelet Container Runtime Interface (CRI) 安装 crictl(kubeadm/kubelet 容器运行时接口(CRI)所需) ```bash -CRICTL_VERSION="v1.26.0" +CRICTL_VERSION="v1.27.0" ARCH="amd64" 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 ``` @@ -426,7 +426,7 @@ cd $DOWNLOAD_DIR sudo curl -L --remote-name-all https://dl.k8s.io/release/${RELEASE}/bin/linux/${ARCH}/{kubeadm,kubelet} sudo chmod +x {kubeadm,kubelet} -RELEASE_VERSION="v0.4.0" +RELEASE_VERSION="v0.15.1" 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 sudo mkdir -p /etc/systemd/system/kubelet.service.d 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