From 2cec0eed7e3cfd3ca7b82adad5f87681e674ac20 Mon Sep 17 00:00:00 2001 From: Roberto Bonafiglia Date: Tue, 20 Aug 2024 15:37:48 +0200 Subject: [PATCH] Updated README with latest CNI plugin version Signed-off-by: Roberto Bonafiglia --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 520884f6d4..5b0dbb9349 100644 --- a/README.md +++ b/README.md @@ -59,9 +59,15 @@ In case a firewall is configured ensure to enable the right port used by the con Flannel uses `portmap` as CNI network plugin by default; when deploying Flannel ensure that the [CNI Network plugins][Network-plugins] are installed in `/opt/cni/bin` the latest binaries can be downloaded with the following commands: ```bash +ARCH=$(uname -m) + case $ARCH in + armv7*) ARCH="arm";; + aarch64) ARCH="arm64";; + x86_64) ARCH="amd64";; + esac mkdir -p /opt/cni/bin -curl -O -L https://github.com/containernetworking/plugins/releases/download/v1.2.0/cni-plugins-linux-amd64-v1.2.0.tgz -tar -C /opt/cni/bin -xzf cni-plugins-linux-amd64-v1.2.0.tgz +curl -O -L https://github.com/containernetworking/plugins/releases/download/v1.5.1/cni-plugins-linux-$ARCH-v1.5.1.tgz +tar -C /opt/cni/bin -xzf cni-plugins-linux-$ARCH-v1.5.1.tgz ``` ## Getting started on Docker