Skip to content

Commit

Permalink
k8s_install.sh: specify the CNI version
Browse files Browse the repository at this point in the history
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: ce69afd ("add support for k8s 1.25.0")
Signed-off-by: André Martins <andre@cilium.io>
  • Loading branch information
aanm committed Mar 6, 2024
1 parent 5eb27e2 commit f92b528
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/provision/k8s_install.sh
Expand Up @@ -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"
Expand Down

0 comments on commit f92b528

Please sign in to comment.