File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
content/en/docs/setup/production-environment/tools/kubeadm Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -212,28 +212,29 @@ sudo systemctl enable --now kubelet
212
212
Install CNI plugins (required for most pod network):
213
213
214
214
``` bash
215
- CNI_VERSION= " v0.8.2 "
215
+ CNI_PLUGINS_VERSION= " v1.1.1 "
216
216
ARCH=" amd64"
217
- sudo mkdir -p /opt/cni/bin
218
- curl -L " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-linux-${ARCH} -${CNI_VERSION} .tgz" | sudo tar -C /opt/cni/bin -xz
217
+ DEST=" /opt/cni/bin"
218
+ sudo mkdir -p " $DEST "
219
+ curl -L " https://github.com/containernetworking/plugins/releases/download/${CNI_PLUGINS_VERSION} /cni-plugins-linux-${ARCH} -${CNI_PLUGINS_VERSION} .tgz" | sudo tar -C " $DEST " -xz
219
220
```
220
221
221
222
Define the directory to download command files
222
223
223
224
{{< note >}}
224
225
The ` DOWNLOAD_DIR ` variable must be set to a writable directory.
225
- If you are running Flatcar Container Linux, set ` DOWNLOAD_DIR=/opt/bin ` .
226
+ If you are running Flatcar Container Linux, set ` DOWNLOAD_DIR=" /opt/bin" ` .
226
227
{{< /note >}}
227
228
228
229
``` bash
229
- DOWNLOAD_DIR=/usr/local/bin
230
- sudo mkdir -p $DOWNLOAD_DIR
230
+ DOWNLOAD_DIR=" /usr/local/bin"
231
+ sudo mkdir -p " $DOWNLOAD_DIR "
231
232
```
232
233
233
234
Install crictl (required for kubeadm / Kubelet Container Runtime Interface (CRI))
234
235
235
236
``` bash
236
- CRICTL_VERSION=" v1.22 .0"
237
+ CRICTL_VERSION=" v1.25 .0"
237
238
ARCH=" amd64"
238
239
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
239
240
```
You can’t perform that action at this time.
0 commit comments