Skip to content
This repository was archived by the owner on Apr 25, 2023. It is now read-only.

Commit 5313997

Browse files
committed
build: Upgrade to kind 0.11.1 and Kubernetes 1.21.1 for testing
1 parent 138df0b commit 5313997

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

docs/environments/kind.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,17 @@ script if you'd like to change the default:
4343
NUM_CLUSTERS=<num> ./scripts/create-clusters.sh
4444
```
4545

46-
The `KIND_TAG` is `v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b` by default.
47-
Image `kindest/node:v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b` is used as
46+
The `KIND_TAG` is `v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6` by default.
47+
Image `kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6` is used as
4848
node docker image for booting the cluster.
4949

5050
You can use `KIND_IMAGE` or `KIND_TAG` to specify the image as you want.
5151
```bash
52-
KIND_TAG=v1.18.8 ./scripts/create-clusters.sh
52+
KIND_TAG=v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b ./scripts/create-clusters.sh
5353
```
5454

5555
```bash
56-
KIND_IMAGE=kindest/node:v1.18.8 ./scripts/create-clusters.sh
56+
KIND_IMAGE=kindest/node:v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b ./scripts/create-clusters.sh
5757
```
5858

5959
## Delete Clusters

scripts/create-clusters.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ set -o pipefail
2525
source "${BASH_SOURCE%/*}/util.sh"
2626
NUM_CLUSTERS="${NUM_CLUSTERS:-2}"
2727
KIND_IMAGE="${KIND_IMAGE:-}"
28-
KIND_TAG="${KIND_TAG:-v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b}"
28+
KIND_TAG="${KIND_TAG:-v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6}"
2929
OS="$(uname)"
3030

3131
function create-clusters() {

scripts/download-e2e-binaries.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ mkdir -p "${dest_dir}"
3636

3737
# kind
3838
platform="$(uname -s|tr A-Z a-z)"
39-
kind_version="v0.9.0"
39+
kind_version="v0.11.1"
4040
kind_path="${dest_dir}/kind"
4141
kind_url="https://github.com/kubernetes-sigs/kind/releases/download/${kind_version}/kind-${platform}-amd64"
4242
curl -fLo "${kind_path}" "${kind_url}" && chmod +x "${kind_path}"

scripts/pre-commit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ run-unit-tests
175175
echo "Downloading e2e test dependencies"
176176
./scripts/download-e2e-binaries.sh
177177

178-
KIND_TAG="v1.19.4@sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b" ./scripts/create-clusters.sh
178+
KIND_TAG="v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6" ./scripts/create-clusters.sh
179179

180180
declare -a join_cluster_list=()
181181
if [[ -z "${JOIN_CLUSTERS}" ]]; then

0 commit comments

Comments
 (0)