Change Kubernetes version from 1.15.3 to 1.18.4, change crictl version from 1.15.0 to 1.17.0, change containerd version from 1.2.9 to 1.3.4 and change cni-plugins version from 0.8.2 to 0.8.5

pull/582/head
Nemo 2020-06-24 15:16:06 +02:00
parent 1af41d8db3
commit 199fcbcada
1 changed files with 12 additions and 12 deletions

View File

@ -47,13 +47,13 @@ sudo swapoff -a
```bash
wget -q --show-progress --https-only --timestamping \
https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.15.0/crictl-v1.15.0-linux-amd64.tar.gz \
https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.17.0/crictl-v1.17.0-linux-amd64.tar.gz \
https://github.com/opencontainers/runc/releases/download/v1.0.0-rc8/runc.amd64 \
https://github.com/containernetworking/plugins/releases/download/v0.8.2/cni-plugins-linux-amd64-v0.8.2.tgz \
https://github.com/containerd/containerd/releases/download/v1.2.9/containerd-1.2.9.linux-amd64.tar.gz \
https://storage.googleapis.com/kubernetes-release/release/v1.15.3/bin/linux/amd64/kubectl \
https://storage.googleapis.com/kubernetes-release/release/v1.15.3/bin/linux/amd64/kube-proxy \
https://storage.googleapis.com/kubernetes-release/release/v1.15.3/bin/linux/amd64/kubelet
https://github.com/containernetworking/plugins/releases/download/v0.8.5/cni-plugins-linux-amd64-v0.8.5.tgz \
https://github.com/containerd/containerd/releases/download/v1.3.4/containerd-1.3.4.linux-amd64.tar.gz \
https://storage.googleapis.com/kubernetes-release/release/v1.18.4/bin/linux/amd64/kubectl \
https://storage.googleapis.com/kubernetes-release/release/v1.18.4/bin/linux/amd64/kube-proxy \
https://storage.googleapis.com/kubernetes-release/release/v1.18.4/bin/linux/amd64/kubelet
```
Create the installation directories:
@ -72,9 +72,9 @@ Install the worker binaries:
```bash
mkdir containerd
tar -xvf crictl-v1.15.0-linux-amd64.tar.gz
tar -xvf containerd-1.2.9.linux-amd64.tar.gz -C containerd
sudo tar -xvf cni-plugins-linux-amd64-v0.8.2.tgz -C /opt/cni/bin/
tar -xvf crictl-v1.17.0-linux-amd64.tar.gz
tar -xvf containerd-1.3.4.linux-amd64.tar.gz -C containerd
sudo tar -xvf cni-plugins-linux-amd64-v0.8.5.tgz -C /opt/cni/bin/
sudo mv runc.amd64 runc
chmod +x crictl kubectl kube-proxy kubelet runc
sudo mv crictl kubectl kube-proxy kubelet runc /usr/local/bin/
@ -295,9 +295,9 @@ ssh root@controller-0 kubectl get nodes --kubeconfig admin.kubeconfig
```bash
NAME STATUS ROLES AGE VERSION
worker-0 Ready <none> 15s v1.15.3
worker-1 Ready <none> 15s v1.15.3
worker-2 Ready <none> 15s v1.15.3
worker-0 Ready <none> 15s v1.18.4
worker-1 Ready <none> 15s v1.18.4
worker-2 Ready <none> 15s v1.18.4
```
Next: [Configuring kubectl for Remote Access](10-configuring-kubectl.md)