Updated the install script
This commit is contained in:
parent
9998104131
commit
b53e095aba
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user