Merge pull request #41829 from qianjunakasumi/patch-1
[zh] Update outdated version in `install-kubeadm` and `kubeadm-init`pull/41846/head
commit
8ab89bff25
|
@ -228,7 +228,7 @@ Alternatively, you can use the `skipPhases` field under `InitConfiguration`.
|
|||
<!--
|
||||
The config file is still considered beta and may change in future versions.
|
||||
-->
|
||||
配置文件的功能仍然处于 alpha 状态并且在将来的版本中可能会改变。
|
||||
配置文件的功能仍然处于 beta 状态并且在将来的版本中可能会改变。
|
||||
{{< /caution >}}
|
||||
|
||||
<!--
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue