File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
content/fr/docs/setup/production-environment/tools/kubeadm Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -225,8 +225,9 @@ Installez les plugins CNI (requis pour la plupart des réseaux de pods) :
225
225
226
226
``` bash
227
227
CNI_VERSION=" v0.8.2"
228
+ ARCH=" amd64"
228
229
sudo mkdir -p /opt/cni/bin
229
- 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
230
+ 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
230
231
```
231
232
232
233
Définissez le répertoire pour télécharger les fichiers de commande
@@ -245,7 +246,8 @@ Installez crictl (requis pour Kubeadm / Kubelet Container Runtime Interface (CRI
245
246
246
247
``` bash
247
248
CRICTL_VERSION=" v1.17.0"
248
- 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
249
+ ARCH=" amd64"
250
+ 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
249
251
```
250
252
251
253
Installez ` kubeadm ` ,` kubelet ` , ` kubectl ` et ajoutez un service systemd` kubelet ` :
@@ -254,8 +256,9 @@ RELEASE_VERSION="v0.6.0"
254
256
255
257
``` bash
256
258
RELEASE=" $( curl -sSL https://dl.k8s.io/release/stable.txt) "
259
+ ARCH=" amd64"
257
260
cd $DOWNLOAD_DIR
258
- sudo curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE} /bin/linux/amd64 /{kubeadm,kubelet,kubectl}
261
+ sudo curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE} /bin/linux/${ARCH} /{kubeadm,kubelet,kubectl}
259
262
sudo chmod +x {kubeadm,kubelet,kubectl}
260
263
261
264
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
You can’t perform that action at this time.
0 commit comments