Skip to content

Commit d1514c3

Browse files
authored
Merge pull request #7799 from aniruddha2000/ani/bump-k8s-1.26
⚠️ Use Kubernetes 1.26 in Quick Start docs and CAPD.
2 parents 83aef06 + 3aae0e8 commit d1514c3

File tree

13 files changed

+42
-41
lines changed

13 files changed

+42
-41
lines changed

.github/ISSUE_TEMPLATE/kubernetes_bump.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Prerequisites:
1717

1818
### Supporting managing and running on the new Kubernetes version
1919

20-
This section contains tasks to update our book, e2e testing and CI to use and test the new Kubernetes version
21-
as well as changes to Cluster API that we might have to make to support the new Kubernetes version. All of these
20+
This section contains tasks to update our book, e2e testing and CI to use and test the new Kubernetes version
21+
as well as changes to Cluster API that we might have to make to support the new Kubernetes version. All of these
2222
changes should be cherry-picked to all release series that will support the new Kubernetes version.
2323

2424
* [ ] Modify quickstart and CAPD to use the new Kubernetes release:
@@ -28,8 +28,9 @@ changes should be cherry-picked to all release series that will support the new
2828
* Ensure the latest available kind version is used (including the latest images for this kind release)
2929
* Verify the quickstart manually
3030
* Prior art: #7156
31+
* bump `InitWithKubernetesVersion` in `clusterctl_upgrade_test.go`
3132
* [ ] Job configurations:
32-
* For all releases which will support the new Kubernetes version:
33+
* For all releases which will support the new Kubernetes version:
3334
* Update `INIT_WITH_KUBERNETES_VERSION`.
3435
* Add new periodic upgrade jobs .
3536
* Adjust presubmit jobs so that we have the latest upgrade jobs available on PRs.
@@ -39,12 +40,12 @@ changes should be cherry-picked to all release series that will support the new
3940
* Update job documentation in `jobs.md`
4041
* Prior art: #7194 #7196
4142
* [ ] Issues specific to the Kubernetes minor release:
42-
* Sometimes there are adjustments that we have to make in Cluster API to be able to support
43+
* Sometimes there are adjustments that we have to make in Cluster API to be able to support
4344
a new Kubernetes minor version. Please add these issues here when they are identified.
4445

4546
### Using new Kubernetes dependencies
4647

47-
This section contains tasks to update Cluster API to use the latest Kubernetes Go dependencies and related topics
48+
This section contains tasks to update Cluster API to use the latest Kubernetes Go dependencies and related topics
4849
like using the right Go version and build images. These changes are only made on the main branch. We don't
4950
need them in older releases as they are not necessary to manage workload clusters of the new Kubernetes version or
5051
run the Cluster API controllers on the new Kubernetes version.
@@ -64,5 +65,5 @@ run the Cluster API controllers on the new Kubernetes version.
6465
* **Note**: This PR should be cherry-picked as well. It is part of this section as it depends on kubebuilder/controller-runtime
6566
releases and is not strictly necessary for [Supporting managing and running on the new Kubernetes version](#supporting-managing-and-running-on-the-new-kubernetes-version).
6667
* Prior art: #7193
67-
* [ ] Bump conversion-gen via `CONVERSION_GEN_VER` in `Makefile`
68+
* [ ] Bump conversion-gen via `CONVERSION_GEN_VER` in `Makefile`
6869
* Prior art: #7118

Tiltfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
envsubst_cmd = "./hack/tools/bin/envsubst"
44
clusterctl_cmd = "./bin/clusterctl"
55
kubectl_cmd = "kubectl"
6-
kubernetes_version = "v1.25.3"
76
default_build_engine = "docker"
7+
kubernetes_version = "v1.26.0"
88

99
if str(local("command -v " + kubectl_cmd + " || true", quiet = True)) == "":
1010
fail("Required command '" + kubectl_cmd + "' not found in PATH")

docs/book/src/developer/tilt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ kustomize_substitutions:
185185
{{#/tabs }}
186186

187187
**deploy_observability** ([string], default=[]): If set, installs on the dev cluster one of more observability
188-
tools.
188+
tools.
189189
Important! This feature requires the `helm` command to be available in the user's path.
190190

191191
Supported values are:
@@ -315,7 +315,7 @@ Custom values for variable substitutions can be set using `kustomize_substitutio
315315
```yaml
316316
kustomize_substitutions:
317317
NAMESPACE: default
318-
KUBERNETES_VERSION: v1.25.3
318+
KUBERNETES_VERSION: v1.26.0
319319
CONTROL_PLANE_MACHINE_COUNT: 1
320320
WORKER_MACHINE_COUNT: 3
321321
```

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ export OSC_REGION=<you-region>
675675
# Create namespace
676676
kubectl create namespace cluster-api-provider-outscale-system
677677
# Create secret
678-
kubectl create secret generic cluster-api-provider-outscale --from-literal=access_key=${OSC_ACCESS_KEY} --from-literal=secret_key=${OSC_SECRET_KEY} --from-literal=region=${OSC_REGION} -n cluster-api-provider-outscale-system
678+
kubectl create secret generic cluster-api-provider-outscale --from-literal=access_key=${OSC_ACCESS_KEY} --from-literal=secret_key=${OSC_SECRET_KEY} --from-literal=region=${OSC_REGION} -n cluster-api-provider-outscale-system
679679
# Initialize the management cluster
680680
clusterctl init --infrastructure outscale
681681
```
@@ -1004,7 +1004,7 @@ Please visit the [IBM Cloud provider] for more information.
10041004
export KKZONE=""
10051005
# The ssh name of the all instance Linux user. (e.g. root, ubuntu)
10061006
export USER_NAME=<your-linux-user>
1007-
# The ssh password of the all instance Linux user.
1007+
# The ssh password of the all instance Linux user.
10081008
export PASSWORD=<your-linux-user-password>
10091009
# The ssh IP address of the all instance. (e.g. "[{address: 192.168.100.3}, {address: 192.168.100.4}]")
10101010
export INSTANCES=<your-linux-ip-address>
@@ -1214,7 +1214,7 @@ The Docker provider is not designed for production use and is intended for devel
12141214
12151215
```bash
12161216
clusterctl generate cluster capi-quickstart --flavor development \
1217-
--kubernetes-version v1.25.3 \
1217+
--kubernetes-version v1.26.0 \
12181218
--control-plane-machine-count=3 \
12191219
--worker-machine-count=3 \
12201220
> capi-quickstart.yaml
@@ -1226,7 +1226,7 @@ clusterctl generate cluster capi-quickstart --flavor development \
12261226
```bash
12271227
export CLUSTER_NAME=kind
12281228
export CLUSTER_NAMESPACE=vcluster
1229-
export KUBERNETES_VERSION=1.25.0
1229+
export KUBERNETES_VERSION=1.26.0
12301230
export HELM_VALUES="service:\n type: NodePort"
12311231
12321232
kubectl create namespace ${CLUSTER_NAMESPACE}
@@ -1257,7 +1257,7 @@ clusterctl generate cluster capi-quickstart \
12571257
12581258
```bash
12591259
clusterctl generate cluster capi-quickstart \
1260-
--kubernetes-version v1.25.3 \
1260+
--kubernetes-version v1.26.0 \
12611261
--control-plane-machine-count=3 \
12621262
--worker-machine-count=3 \
12631263
> capi-quickstart.yaml
@@ -1317,7 +1317,7 @@ You should see an output is similar to this:
13171317
13181318
```bash
13191319
NAME CLUSTER INITIALIZED API SERVER AVAILABLE REPLICAS READY UPDATED UNAVAILABLE AGE VERSION
1320-
capi-quickstart-g2trk capi-quickstart true 3 3 3 4m7s v1.25.3
1320+
capi-quickstart-g2trk capi-quickstart true 3 3 3 4m7s v1.26.0
13211321
```
13221322
13231323
<aside class="note warning">
@@ -1519,12 +1519,12 @@ kubectl --kubeconfig=./capi-quickstart.kubeconfig get nodes
15191519
```
15201520
```bash
15211521
NAME STATUS ROLES AGE VERSION
1522-
capi-quickstart-g2trk-9xrjv Ready control-plane 12m v1.25.3
1523-
capi-quickstart-g2trk-bmm9v Ready control-plane 11m v1.25.3
1524-
capi-quickstart-g2trk-hvs9q Ready control-plane 13m v1.25.3
1525-
capi-quickstart-md-0-55x6t-5649968bd7-8tq9v Ready <none> 12m v1.25.3
1526-
capi-quickstart-md-0-55x6t-5649968bd7-glnjd Ready <none> 12m v1.25.3
1527-
capi-quickstart-md-0-55x6t-5649968bd7-sfzp6 Ready <none> 12m v1.25.3
1522+
capi-quickstart-g2trk-9xrjv Ready control-plane 12m v1.26.0
1523+
capi-quickstart-g2trk-bmm9v Ready control-plane 11m v1.26.0
1524+
capi-quickstart-g2trk-hvs9q Ready control-plane 13m v1.26.0
1525+
capi-quickstart-md-0-55x6t-5649968bd7-8tq9v Ready <none> 12m v1.26.0
1526+
capi-quickstart-md-0-55x6t-5649968bd7-glnjd Ready <none> 12m v1.26.0
1527+
capi-quickstart-md-0-55x6t-5649968bd7-sfzp6 Ready <none> 12m v1.26.0
15281528
```
15291529
15301530
{{#/tab }}

test/e2e/clusterctl_upgrade_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var _ = Describe("When testing clusterctl upgrades (v1.2=>current)", func() {
6868
SkipCleanup: skipCleanup,
6969
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.7/clusterctl-{OS}-{ARCH}",
7070
InitWithProvidersContract: "v1beta1",
71-
InitWithKubernetesVersion: "v1.25.3",
71+
InitWithKubernetesVersion: "v1.26.0",
7272
}
7373
})
7474
})
@@ -83,7 +83,7 @@ var _ = Describe("When testing clusterctl upgrades (v1.3=>current)", func() {
8383
SkipCleanup: skipCleanup,
8484
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.0/clusterctl-{OS}-{ARCH}",
8585
InitWithProvidersContract: "v1beta1",
86-
InitWithKubernetesVersion: "v1.25.3",
86+
InitWithKubernetesVersion: "v1.26.0",
8787
}
8888
})
8989
})
@@ -98,7 +98,7 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.2=>cur
9898
SkipCleanup: skipCleanup,
9999
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.2.7/clusterctl-{OS}-{ARCH}",
100100
InitWithProvidersContract: "v1beta1",
101-
InitWithKubernetesVersion: "v1.25.3",
101+
InitWithKubernetesVersion: "v1.26.0",
102102
WorkloadFlavor: "topology",
103103
}
104104
})
@@ -114,7 +114,7 @@ var _ = Describe("When testing clusterctl upgrades using ClusterClass (v1.3=>cur
114114
SkipCleanup: skipCleanup,
115115
InitWithBinary: "https://github.com/kubernetes-sigs/cluster-api/releases/download/v1.3.0/clusterctl-{OS}-{ARCH}",
116116
InitWithProvidersContract: "v1beta1",
117-
InitWithKubernetesVersion: "v1.25.3",
117+
InitWithKubernetesVersion: "v1.26.0",
118118
WorkloadFlavor: "topology",
119119
}
120120
})

test/e2e/config/docker.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ variables:
254254
# allowing the same e2e config file to be re-used in different Prow jobs e.g. each one with a K8s version permutation.
255255
# The following Kubernetes versions should be the latest versions with already published kindest/node images.
256256
# This avoids building node images in the default case which improves the test duration significantly.
257-
KUBERNETES_VERSION_MANAGEMENT: "v1.25.3"
258-
KUBERNETES_VERSION: "v1.25.3"
259-
KUBERNETES_VERSION_UPGRADE_FROM: "v1.24.7"
260-
KUBERNETES_VERSION_UPGRADE_TO: "v1.25.3"
261-
ETCD_VERSION_UPGRADE_TO: "3.5.4-0"
257+
KUBERNETES_VERSION_MANAGEMENT: "v1.26.0"
258+
KUBERNETES_VERSION: "v1.26.0"
259+
KUBERNETES_VERSION_UPGRADE_FROM: "v1.25.3"
260+
KUBERNETES_VERSION_UPGRADE_TO: "v1.26.0"
261+
ETCD_VERSION_UPGRADE_TO: "3.5.6-0"
262262
COREDNS_VERSION_UPGRADE_TO: "v1.9.3"
263263
DOCKER_SERVICE_DOMAIN: "cluster.local"
264264
IP_FAMILY: "IPv4"

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.25.3"
40+
DefaultNodeImageVersion = "v1.26.0"
4141
)
4242

4343
// KindClusterOption is a NewKindClusterProvider option.

test/infrastructure/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ENV GOPROXY=$goproxy
3333
# Gets additional CAPD dependencies
3434
WORKDIR /tmp
3535

36-
RUN curl -LO "https://dl.k8s.io/release/v1.25.3/bin/linux/${ARCH}/kubectl" && \
36+
RUN curl -LO "https://dl.k8s.io/release/v1.26.0/bin/linux/${ARCH}/kubectl" && \
3737
chmod +x ./kubectl && \
3838
mv ./kubectl /usr/bin/kubectl
3939

test/infrastructure/docker/examples/machine-pool.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
namespace: default
3636
spec:
3737
replicas: 1
38-
version: v1.25.3
38+
version: v1.26.0
3939
machineTemplate:
4040
infrastructureRef:
4141
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
@@ -80,7 +80,7 @@ spec:
8080
replicas: 2
8181
template:
8282
spec:
83-
version: v1.25.3
83+
version: v1.26.0
8484
clusterName: my-cluster
8585
bootstrap:
8686
configRef:

test/infrastructure/docker/examples/simple-cluster-ipv6.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
namespace: default
3636
spec:
3737
replicas: 1
38-
version: v1.25.3
38+
version: v1.26.0
3939
machineTemplate:
4040
infrastructureRef:
4141
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
@@ -90,7 +90,7 @@ spec:
9090
cluster.x-k8s.io/cluster-name: my-cluster
9191
template:
9292
spec:
93-
version: v1.25.3
93+
version: v1.26.0
9494
clusterName: my-cluster
9595
bootstrap:
9696
configRef:

0 commit comments

Comments
 (0)