@@ -240,8 +240,9 @@ Install CNI plugins (required for most pod network):
240
240
241
241
``` bash
242
242
CNI_VERSION=" v0.8.2"
243
+ ARCH=" amd64"
243
244
sudo mkdir -p /opt/cni/bin
244
- curl -L " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-linux-amd64 -${CNI_VERSION} .tgz" | sudo tar -C /opt/cni/bin -xz
245
+ 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
245
246
```
246
247
247
248
Define the directory to download command files
@@ -260,15 +261,17 @@ Install crictl (required for kubeadm / Kubelet Container Runtime Interface (CRI)
260
261
261
262
``` bash
262
263
CRICTL_VERSION=" v1.17.0"
263
- curl -L " https://github.com/kubernetes-sigs/cri-tools/releases/download/${CRICTL_VERSION} /crictl-${CRICTL_VERSION} -linux-amd64.tar.gz" | sudo tar -C $DOWNLOAD_DIR -xz
264
+ ARCH=" amd64"
265
+ 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
264
266
```
265
267
266
268
Install ` kubeadm ` , ` kubelet ` , ` kubectl ` and add a ` kubelet ` systemd service:
267
269
268
270
``` bash
269
271
RELEASE=" $( curl -sSL https://dl.k8s.io/release/stable.txt) "
272
+ ARCH=" amd64"
270
273
cd $DOWNLOAD_DIR
271
- sudo curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE} /bin/linux/amd64 /{kubeadm,kubelet,kubectl}
274
+ sudo curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE} /bin/linux/${ARCH} /{kubeadm,kubelet,kubectl}
272
275
sudo chmod +x {kubeadm,kubelet,kubectl}
273
276
274
277
RELEASE_VERSION=" v0.4.0"
@@ -314,4 +317,3 @@ If you are running into difficulties with kubeadm, please consult our [troublesh
314
317
## {{% heading "whatsnext" %}}
315
318
316
319
* [ Using kubeadm to Create a Cluster] ( /docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/ )
317
-
0 commit comments