Updated the install script

This commit is contained in:
Sambo Chea 2021-10-12 18:23:25 +07:00
parent 9998104131
commit b53e095aba
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490
2 changed files with 5 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#### Quick install for kubernetes cluster for worker node
```shell
curl -s -L https://raw.githubusercontent.com/sombochea/kubernetes-installation/main/kube-cluster-worker-install.sh?v=181612102021 | sudo bash
curl -s -L https://raw.githubusercontent.com/sombochea/kubernetes-installation/main/kube-cluster-worker-install.sh?v=182012102021 | sudo bash
```
### 1. Download kubectl

View File

@ -33,7 +33,10 @@ ARCH="amd64"
sudo mkdir -p /opt/cni/bin
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
echo "Downloading and install cri tools..."
DOWNLOAD_DIR=/usr/local/bin
sudo mkdir -p $DOWNLOAD_DIR
echo "Downloading and install crictl tools..."
CRICTL_VERSION="v1.17.0"
ARCH="amd64"
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