File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
content/ja/docs/setup/production-environment/tools/kubeadm Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -223,26 +223,27 @@ CNIプラグインをインストールする(ほとんどのPodのネットワ
223
223
224
224
``` bash
225
225
CNI_VERSION=" v0.8.2"
226
+ ARCH=" amd64"
226
227
mkdir -p /opt/cni/bin
227
- curl -L " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-linux-amd64 -${CNI_VERSION} .tgz" | tar -C /opt/cni/bin -xz
228
+ curl -L " https://github.com/containernetworking/plugins/releases/download/${CNI_VERSION} /cni-plugins-linux-${ARCH} -${CNI_VERSION} .tgz" | tar -C /opt/cni/bin -xz
228
229
```
229
230
230
231
crictlをインストールする (kubeadm / Kubelet Container Runtime Interface (CRI)に必要です)
231
232
232
233
``` bash
233
- CRICTL_VERSION=" v1.16 .0"
234
- mkdir -p /opt/bin
235
- curl -L " https://github.com/kubernetes-sigs/cri-tools/releases/download/${CRICTL_VERSION} /crictl-${CRICTL_VERSION} -linux-amd64 .tar.gz" | tar -C /opt/bin -xz
234
+ CRICTL_VERSION=" v1.17 .0"
235
+ ARCH= " amd64 "
236
+ 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
236
237
```
237
238
238
239
` kubeadm ` 、` kubelet ` 、` kubectl ` をインストールし` kubelet ` をsystemd serviceに登録します:
239
240
240
241
``` bash
241
242
RELEASE=" $( curl -sSL https://dl.k8s.io/release/stable.txt) "
242
-
243
+ ARCH= " amd64 "
243
244
mkdir -p /opt/bin
244
245
cd /opt/bin
245
- curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE} /bin/linux/amd64 /{kubeadm,kubelet,kubectl}
246
+ curl -L --remote-name-all https://storage.googleapis.com/kubernetes-release/release/${RELEASE} /bin/linux/${ARCH} /{kubeadm,kubelet,kubectl}
246
247
chmod +x {kubeadm,kubelet,kubectl}
247
248
248
249
curl -sSL " https://raw.githubusercontent.com/kubernetes/kubernetes/${RELEASE} /build/debs/kubelet.service" | sed " s:/usr/bin:/opt/bin:g" > /etc/systemd/system/kubelet.service
You can’t perform that action at this time.
0 commit comments