From f92b528abc30a5c66ba80d5922d4e58c48cfe7e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Martins?= Date: Wed, 6 Mar 2024 10:09:14 +0100 Subject: [PATCH] k8s_install.sh: specify the CNI version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CNI version should be specify so that in case we have to fallback the installation of k8s via binaries it doesn't fail with the error: ``` 10:29:25 k8s1-1.25: gzip: stdin: not in gzip format 10:29:25 k8s1-1.25: tar: Child returned status 1 10:29:25 k8s1-1.25: tar: Error is not recoverable: exiting now ``` Fixes: ce69afdc3ad1 ("add support for k8s 1.25.0") Signed-off-by: André Martins --- test/provision/k8s_install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/provision/k8s_install.sh b/test/provision/k8s_install.sh index 2e961b9c224b..2e242fdf9d61 100755 --- a/test/provision/k8s_install.sh +++ b/test/provision/k8s_install.sh @@ -524,9 +524,7 @@ case $K8S_VERSION in # kubeadm <= 1.24 requires conntrack to be installed, we can remove this # once we have upgraded the VM image version. sudo apt-get install -y conntrack - # We don't need to define dthe kubernetes CNI version once we have stable - # releases. - # KUBERNETES_CNI_VERSION="0.8.7" + KUBERNETES_CNI_VERSION="1.1.1" KUBERNETES_CNI_OS="-linux" K8S_FULL_VERSION="1.25.0" KUBEADM_OPTIONS="--ignore-preflight-errors=cri,swap"