Make cri-tools optional for kubeadm

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
This commit is contained in:
Sascha Grunert 2024-05-29 10:38:52 +02:00
parent 777c6e30ec
commit 9eccaf39d2
No known key found for this signature in database
GPG Key ID: 09D97D153EF94D93
1 changed files with 2 additions and 2 deletions

View File

@ -297,10 +297,10 @@ DOWNLOAD_DIR="/usr/local/bin"
sudo mkdir -p "$DOWNLOAD_DIR"
```
Install crictl (required for kubeadm / Kubelet Container Runtime Interface (CRI)):
Optionally install crictl (required for interaction with the Container Runtime Interface (CRI), optional for kubeadm):
```bash
CRICTL_VERSION="v1.28.0"
CRICTL_VERSION="v1.31.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
```