From 9af0bdd3b9feade5e01b7e593e41a07b8519d42d Mon Sep 17 00:00:00 2001 From: fabriziopandini Date: Mon, 25 Nov 2024 18:21:36 +0100 Subject: [PATCH] Bump kind to v0.25.0 --- Tiltfile | 2 +- docs/book/src/developer/core/tilt.md | 4 +-- docs/book/src/user/quick-start.md | 26 +++++++++--------- hack/ensure-kind.sh | 2 +- test/e2e/config/docker.yaml | 2 +- test/framework/bootstrap/kind_provider.go | 2 +- test/go.mod | 2 +- test/go.sum | 4 +-- test/infrastructure/kind/mapper.go | 32 +++++++++++++++++++++++ 9 files changed, 54 insertions(+), 22 deletions(-) diff --git a/Tiltfile b/Tiltfile index b6d692baf537..c3026329825a 100644 --- a/Tiltfile +++ b/Tiltfile @@ -3,7 +3,7 @@ envsubst_cmd = "./hack/tools/bin/envsubst" clusterctl_cmd = "./bin/clusterctl" kubectl_cmd = "kubectl" -kubernetes_version = "v1.31.0" +kubernetes_version = "v1.31.2" load("ext://uibutton", "cmd_button", "location", "text_input") diff --git a/docs/book/src/developer/core/tilt.md b/docs/book/src/developer/core/tilt.md index 656b70dbb12f..7c95eb278571 100644 --- a/docs/book/src/developer/core/tilt.md +++ b/docs/book/src/developer/core/tilt.md @@ -8,7 +8,7 @@ workflow that offers easy deployments and rapid iterative builds. ## Prerequisites 1. [Docker](https://docs.docker.com/install/): v19.03 or newer (on MacOS e.g. via [Lima](https://github.com/lima-vm/lima)) -2. [kind](https://kind.sigs.k8s.io): v0.24.0 or newer +2. [kind](https://kind.sigs.k8s.io): v0.25.0 or newer 3. [Tilt](https://docs.tilt.dev/install.html): v0.30.8 or newer 4. [kustomize](https://github.com/kubernetes-sigs/kustomize): provided via `make kustomize` 5. [envsubst](https://github.com/drone/envsubst): provided via `make envsubst` @@ -335,7 +335,7 @@ Custom values for variable substitutions can be set using `kustomize_substitutio ```yaml kustomize_substitutions: NAMESPACE: "default" - KUBERNETES_VERSION: "v1.31.0" + KUBERNETES_VERSION: "v1.31.2" CONTROL_PLANE_MACHINE_COUNT: "1" WORKER_MACHINE_COUNT: "3" # Note: kustomize substitutions expects the values to be strings. This can be achieved by wrapping the values in quotation marks. diff --git a/docs/book/src/user/quick-start.md b/docs/book/src/user/quick-start.md index 5d7d4ea75cbd..b680fb68bb18 100644 --- a/docs/book/src/user/quick-start.md +++ b/docs/book/src/user/quick-start.md @@ -56,7 +56,7 @@ a target [management cluster] on the selected [infrastructure provider]. [kind] is not designed for production use. - **Minimum [kind] supported version**: v0.24.0 + **Minimum [kind] supported version**: v0.25.0 **Help with common issues can be found in the [Troubleshooting Guide](./troubleshooting.md).** @@ -1387,7 +1387,7 @@ The Docker provider is not designed for production use and is intended for devel ```bash clusterctl generate cluster capi-quickstart --flavor development \ - --kubernetes-version v1.31.0 \ + --kubernetes-version v1.31.2 \ --control-plane-machine-count=3 \ --worker-machine-count=3 \ > capi-quickstart.yaml @@ -1399,7 +1399,7 @@ clusterctl generate cluster capi-quickstart --flavor development \ ```bash export CLUSTER_NAME=kind export CLUSTER_NAMESPACE=vcluster -export KUBERNETES_VERSION=1.28.0 +export KUBERNETES_VERSION=1.31.2 export HELM_VALUES="service:\n type: NodePort" kubectl create namespace ${CLUSTER_NAMESPACE} @@ -1431,7 +1431,7 @@ clusterctl generate cluster capi-quickstart \ ```bash clusterctl generate cluster capi-quickstart \ --infrastructure azure \ - --kubernetes-version v1.31.0 \ + --kubernetes-version v1.31.2 \ --control-plane-machine-count=3 \ --worker-machine-count=3 \ > capi-quickstart.yaml @@ -1446,7 +1446,7 @@ yq -i "with(. | select(.kind == \"AzureClusterIdentity\"); .spec.type |= \"Servi ```bash clusterctl generate cluster capi-quickstart \ - --kubernetes-version v1.31.0 \ + --kubernetes-version v1.31.2 \ --control-plane-machine-count=3 \ --worker-machine-count=3 \ > capi-quickstart.yaml @@ -1500,7 +1500,7 @@ and see an output similar to this: ```bash NAME PHASE AGE VERSION -capi-quickstart Provisioned 8s v1.31.0 +capi-quickstart Provisioned 8s v1.31.2 ``` To verify the first control plane is up: @@ -1513,7 +1513,7 @@ You should see an output is similar to this: ```bash NAME CLUSTER INITIALIZED API SERVER AVAILABLE REPLICAS READY UPDATED UNAVAILABLE AGE VERSION -capi-quickstart-g2trk capi-quickstart true 3 3 3 4m7s v1.31.0 +capi-quickstart-g2trk capi-quickstart true 3 3 3 4m7s v1.31.2 ```