Skip to content

Commit 5935e7c

Browse files
authored
Merge pull request kubernetes-sigs#10094 from cahillsf/upgrade-kind-version
🌱 bump kind version to v0.22.0
2 parents 065c072 + 5fcd246 commit 5935e7c

File tree

16 files changed

+137
-35
lines changed

16 files changed

+137
-35
lines changed

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
envsubst_cmd = "./hack/tools/bin/envsubst"
44
clusterctl_cmd = "./bin/clusterctl"
55
kubectl_cmd = "kubectl"
6-
kubernetes_version = "v1.29.0"
6+
kubernetes_version = "v1.29.2"
77

88
load("ext://uibutton", "cmd_button", "location", "text_input")
99

docs/book/src/developer/providers/migrations/v1.6-to-v1.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ maintainers of providers and consumers of our Go API.
1010
## Dependencies
1111

1212
**Note**: Only the most relevant dependencies are listed, `k8s.io/` and `ginkgo`/`gomega` dependencies in Cluster API are kept in sync with the versions used by `sigs.k8s.io/controller-runtime`.
13+
- sigs.k8s.io/kind: v0.20.x => v0.22.x
1314

1415

1516
## Changes by Kind

docs/book/src/developer/tilt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ workflow that offers easy deployments and rapid iterative builds.
88
## Prerequisites
99

1010
1. [Docker](https://docs.docker.com/install/): v19.03 or newer
11-
2. [kind](https://kind.sigs.k8s.io): v0.20.0 or newer
11+
2. [kind](https://kind.sigs.k8s.io): v0.22.0 or newer
1212
3. [Tilt](https://docs.tilt.dev/install.html): v0.30.8 or newer
1313
4. [kustomize](https://github.com/kubernetes-sigs/kustomize): provided via `make kustomize`
1414
5. [envsubst](https://github.com/drone/envsubst): provided via `make envsubst`
@@ -337,7 +337,7 @@ Custom values for variable substitutions can be set using `kustomize_substitutio
337337
```yaml
338338
kustomize_substitutions:
339339
NAMESPACE: "default"
340-
KUBERNETES_VERSION: "v1.29.0"
340+
KUBERNETES_VERSION: "v1.29.2"
341341
CONTROL_PLANE_MACHINE_COUNT: "1"
342342
WORKER_MACHINE_COUNT: "3"
343343
# Note: kustomize substitutions expects the values to be strings. This can be achieved by wrapping the values in quotation marks.

docs/book/src/user/quick-start.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ a target [management cluster] on the selected [infrastructure provider].
5656

5757
[kind] is not designed for production use.
5858

59-
**Minimum [kind] supported version**: v0.20.0
59+
**Minimum [kind] supported version**: v0.22.0
6060

6161
**Help with common issues can be found in the [Troubleshooting Guide](./troubleshooting.md).**
6262

@@ -1305,7 +1305,7 @@ The Docker provider is not designed for production use and is intended for devel
13051305
13061306
```bash
13071307
clusterctl generate cluster capi-quickstart --flavor development \
1308-
--kubernetes-version v1.29.0 \
1308+
--kubernetes-version v1.29.2 \
13091309
--control-plane-machine-count=3 \
13101310
--worker-machine-count=3 \
13111311
> capi-quickstart.yaml
@@ -1348,7 +1348,7 @@ clusterctl generate cluster capi-quickstart \
13481348
13491349
```bash
13501350
clusterctl generate cluster capi-quickstart \
1351-
--kubernetes-version v1.29.0 \
1351+
--kubernetes-version v1.29.2 \
13521352
--control-plane-machine-count=3 \
13531353
--worker-machine-count=3 \
13541354
> capi-quickstart.yaml
@@ -1402,7 +1402,7 @@ and see an output similar to this:
14021402
14031403
```bash
14041404
NAME PHASE AGE VERSION
1405-
capi-quickstart Provisioned 8s v1.29.0
1405+
capi-quickstart Provisioned 8s v1.29.2
14061406
```
14071407
14081408
To verify the first control plane is up:
@@ -1415,7 +1415,7 @@ You should see an output is similar to this:
14151415
14161416
```bash
14171417
NAME CLUSTER INITIALIZED API SERVER AVAILABLE REPLICAS READY UPDATED UNAVAILABLE AGE VERSION
1418-
capi-quickstart-g2trk capi-quickstart true 3 3 3 4m7s v1.29.0
1418+
capi-quickstart-g2trk capi-quickstart true 3 3 3 4m7s v1.29.2
14191419
```
14201420
14211421
<aside class="note warning">
@@ -1670,12 +1670,12 @@ kubectl --kubeconfig=./capi-quickstart.kubeconfig get nodes
16701670
```
16711671
```bash
16721672
NAME STATUS ROLES AGE VERSION
1673-
capi-quickstart-vs89t-gmbld Ready control-plane 5m33s v1.29.0
1674-
capi-quickstart-vs89t-kf9l5 Ready control-plane 6m20s v1.29.0
1675-
capi-quickstart-vs89t-t8cfn Ready control-plane 7m10s v1.29.0
1676-
capi-quickstart-md-0-55x6t-5649968bd7-8tq9v Ready <none> 6m5s v1.29.0
1677-
capi-quickstart-md-0-55x6t-5649968bd7-glnjd Ready <none> 6m9s v1.29.0
1678-
capi-quickstart-md-0-55x6t-5649968bd7-sfzp6 Ready <none> 6m9s v1.29.0
1673+
capi-quickstart-vs89t-gmbld Ready control-plane 5m33s v1.29.2
1674+
capi-quickstart-vs89t-kf9l5 Ready control-plane 6m20s v1.29.2
1675+
capi-quickstart-vs89t-t8cfn Ready control-plane 7m10s v1.29.2
1676+
capi-quickstart-md-0-55x6t-5649968bd7-8tq9v Ready <none> 6m5s v1.29.2
1677+
capi-quickstart-md-0-55x6t-5649968bd7-glnjd Ready <none> 6m9s v1.29.2
1678+
capi-quickstart-md-0-55x6t-5649968bd7-sfzp6 Ready <none> 6m9s v1.29.2
16791679
```
16801680
16811681
{{#/tab }}

hack/ensure-kind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ goarch="$(go env GOARCH)"
3030
goos="$(go env GOOS)"
3131

3232
# Note: When updating the MINIMUM_KIND_VERSION new shas MUST be added in `preBuiltMappings` at `test/infrastructure/kind/mapper.go`
33-
MINIMUM_KIND_VERSION=v0.20.0
33+
MINIMUM_KIND_VERSION=v0.22.0
3434

3535

3636
# Ensure the kind tool exists and is a viable version, or installs it

test/e2e/clusterctl_upgrade_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ var _ = Describe("When testing clusterctl upgrades (v1.6=>current)", func() {
283283
InitWithBinary: fmt.Sprintf(clusterctlDownloadURL, stableRelease),
284284
InitWithProvidersContract: "v1beta1",
285285
// Note: Both InitWithKubernetesVersion and WorkloadKubernetesVersion should be the highest mgmt cluster version supported by the source Cluster API version.
286-
InitWithKubernetesVersion: "v1.29.0",
287-
WorkloadKubernetesVersion: "v1.29.0",
286+
InitWithKubernetesVersion: "v1.29.2",
287+
WorkloadKubernetesVersion: "v1.29.2",
288288
MgmtFlavor: "topology",
289289
WorkloadFlavor: "",
290290
}
@@ -307,8 +307,8 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.6=>cur
307307
InitWithBinary: fmt.Sprintf(clusterctlDownloadURL, stableRelease),
308308
InitWithProvidersContract: "v1beta1",
309309
// Note: Both InitWithKubernetesVersion and WorkloadKubernetesVersion should be the highest mgmt cluster version supported by the source Cluster API version.
310-
InitWithKubernetesVersion: "v1.29.0",
311-
WorkloadKubernetesVersion: "v1.29.0",
310+
InitWithKubernetesVersion: "v1.29.2",
311+
WorkloadKubernetesVersion: "v1.29.2",
312312
MgmtFlavor: "topology",
313313
WorkloadFlavor: "topology",
314314
}

test/e2e/config/docker.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,10 +314,10 @@ variables:
314314
# allowing the same e2e config file to be re-used in different Prow jobs e.g. each one with a K8s version permutation.
315315
# The following Kubernetes versions should be the latest versions with already published kindest/node images.
316316
# This avoids building node images in the default case which improves the test duration significantly.
317-
KUBERNETES_VERSION_MANAGEMENT: "v1.29.0"
318-
KUBERNETES_VERSION: "v1.29.0"
317+
KUBERNETES_VERSION_MANAGEMENT: "v1.29.2"
318+
KUBERNETES_VERSION: "v1.29.2"
319319
KUBERNETES_VERSION_UPGRADE_FROM: "v1.28.0"
320-
KUBERNETES_VERSION_UPGRADE_TO: "v1.29.0"
320+
KUBERNETES_VERSION_UPGRADE_TO: "v1.29.2"
321321
KUBERNETES_VERSION_LATEST_CI: "ci/latest-1.30"
322322
ETCD_VERSION_UPGRADE_TO: "3.5.10-0"
323323
COREDNS_VERSION_UPGRADE_TO: "v1.11.1"

test/framework/bootstrap/kind_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
DefaultNodeImageRepository = "kindest/node"
3838

3939
// DefaultNodeImageVersion is the default Kubernetes version to be used for creating a kind cluster.
40-
DefaultNodeImageVersion = "v1.29.0@sha256:eaa1450915475849a73a9227b8f201df25e55e268e5d619312131292e324d570"
40+
DefaultNodeImageVersion = "v1.29.2@sha256:51a1434a5397193442f0be2a297b488b6c919ce8a3931be0ce822606ea5ca245"
4141
)
4242

4343
// KindClusterOption is a NewKindClusterProvider option.

test/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ require (
3333
k8s.io/utils v0.0.0-20231127182322-b307cd553661
3434
sigs.k8s.io/cluster-api v0.0.0-00010101000000-000000000000
3535
sigs.k8s.io/controller-runtime v0.17.2
36-
sigs.k8s.io/kind v0.20.0
36+
sigs.k8s.io/kind v0.22.0
3737
sigs.k8s.io/yaml v1.4.0
3838
)
3939

test/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,8 @@ sigs.k8s.io/controller-runtime v0.17.2 h1:FwHwD1CTUemg0pW2otk7/U5/i5m2ymzvOXdbeG
507507
sigs.k8s.io/controller-runtime v0.17.2/go.mod h1:+MngTvIQQQhfXtwfdGw/UOQ/aIaqsYywfCINOtwMO/s=
508508
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo=
509509
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0=
510-
sigs.k8s.io/kind v0.20.0 h1:f0sc3v9mQbGnjBUaqSFST1dwIuiikKVGgoTwpoP33a8=
511-
sigs.k8s.io/kind v0.20.0/go.mod h1:aBlbxg08cauDgZ612shr017/rZwqd7AS563FvpWKPVs=
510+
sigs.k8s.io/kind v0.22.0 h1:z/+yr/azoOfzsfooqRsPw1wjJlqT/ukXP0ShkHwNlsI=
511+
sigs.k8s.io/kind v0.22.0/go.mod h1:aBlbxg08cauDgZ612shr017/rZwqd7AS563FvpWKPVs=
512512
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 h1:150L+0vs/8DA78h1u02ooW1/fFq/Lwr+sGiqlzvrtq4=
513513
sigs.k8s.io/structured-merge-diff/v4 v4.4.1/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08=
514514
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=

0 commit comments

Comments
 (0)