From 5e67f16c20946aa4f02da90ab517b9f7de47026b Mon Sep 17 00:00:00 2001 From: "Herrera, Josh (jh813b)" Date: Fri, 24 Sep 2021 12:26:36 -0700 Subject: [PATCH] Upgrade default kind version in get_kind.sh As mentioned in https://github.com/kubernetes-sigs/kind/issues/2240 there was a change in the linux kernel after 5.12.2 that makes nf_conntrack_max read-only in non-init network namespaces, which prevents kind's kube-proxy container from working correctly on kind versions older than v0.11.1. This PS updates the script to download v0.11.1 to avoid this issue. If older versions are needed, the kind url can be set as an environment variable as shown in airshipctl/tools/deployment.provider_common/01_install_kind.sh. Relates-To: #583 Change-Id: Icd9e649fa112e9f6307034ec69dde5d4a7ad613d --- tools/deployment/kind/get_kind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/deployment/kind/get_kind.sh b/tools/deployment/kind/get_kind.sh index ff18e0b1..fb43759d 100755 --- a/tools/deployment/kind/get_kind.sh +++ b/tools/deployment/kind/get_kind.sh @@ -15,7 +15,7 @@ # This downloads kind, puts it in a temp directory, and prints the directory set -e -: ${KIND_URL:="https://kind.sigs.k8s.io/dl/v0.10.0/kind-$(uname)-amd64"} +: ${KIND_URL:="https://kind.sigs.k8s.io/dl/v0.11.1/kind-$(uname)-amd64"} TMP=$(mktemp -d) KIND="${TMP}/kind"