Skip to content

Commit 6769e8c

Browse files
More feedback
1 parent 8cc9571 commit 6769e8c

File tree

5 files changed

+27
-26
lines changed

5 files changed

+27
-26
lines changed
131 KB
Loading

docs/proposals/20250513-chained-and-efficient-upgrades-for-clusters-with-managed-topologies.md

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ see-also:
4747

4848
- **Chained upgrade**: an upgrade sequence that goes from one Kubernetes version to another
4949
by passing through a set of intermediate versions. e.g., Upgrading from v1.31.0 (current state) to v1.34.0 (target version) requires
50-
a chained upgrade with the following steps: v1.32.0 (first intermediate version)-> v1.32.0 (second intermediate version)
51-
-> v1.33.0 (target version)
50+
a chained upgrade with the following steps: v1.32.0 (first intermediate version)-> v1.33.0 (second intermediate version)
51+
-> v1.34.0 (target version)
5252

5353
- **Upgrade plan**: the sequence of intermediate versions ... target version that a Cluster must upgrade to when
5454
performing a chained upgrade;
@@ -191,11 +191,11 @@ apiVersion: hooks.runtime.cluster.x-k8s.io/v1alpha1
191191
kind: GenerateUpgradePlanResponse
192192
status: Success # or Failure
193193
message: "error message if status == Failure"
194-
controlPlaneVersions:
195-
- v1.30.0
196-
- v1.31.0
197-
- v1.32.3
198-
- v1.33.0
194+
controlPlaneUpgrades:
195+
- version: v1.30.0
196+
- version: v1.31.0
197+
- version: v1.32.3
198+
- version: v1.33.0
199199
```
200200
201201
Note: in this case the system will infer the list of intermediate version for workers from the list of control plane versions, taking
@@ -207,9 +207,9 @@ Implementers of this runtime extension can also support more sophisticated use c
207207
208208
```yaml
209209
...
210-
controlPlaneVersions:
211-
- v1.30.0
212-
- v1.30.1
210+
controlPlaneUpgrades:
211+
- version: v1.30.0
212+
- version: v1.30.1
213213
- ...
214214
```
215215
@@ -222,29 +222,30 @@ care of performing the minimum number of workers upgrade by taking into account
222222
223223
```yaml
224224
...
225-
controlPlaneVersions:
226-
- v1.30.0
227-
- v1.31.0
228-
- v1.32.3
229-
workersVersions:
230-
- v1.30.0
225+
controlPlaneUpgrades:
226+
- version: v1.30.0
227+
- version: v1.31.0
228+
- version: v1.32.3
229+
workersUpgrades:
230+
- version: v1.30.0
231+
- version: v1.32.3
231232
```
232233
233-
Note: in this case the system will take into consideration the provided `workersVersions`, but if required by the [Kubernetes version skew policy](https://kubernetes.io/releases/version-skew-policy/),
234-
also add necessary intermediate version for workers inferred from the list of control plane versions.
234+
Note: in this case the system will take into consideration the provided `workersUpgrades`, and validated it is
235+
consistent with `controlPlaneUpgrades` and also compliant with the [Kubernetes version skew policy](https://kubernetes.io/releases/version-skew-policy/).
235236

236237
- Force workers to upgrade to all the intermediate steps (opt out from efficient upgrades).
237238

238239
```yaml
239240
...
240-
controlPlaneVersions:
241-
- v1.30.0
242-
- v1.31.0
243-
- v1.32.3
244-
workersVersions:
245-
- v1.30.0
246-
- v1.31.0
247-
- v1.32.3
241+
controlPlaneUpgrades:
242+
- version: v1.30.0
243+
- version: v1.31.0
244+
- version: v1.32.3
245+
workersUpgrades:
246+
- version: v1.30.0
247+
- version: v1.31.0
248+
- version: v1.32.3
248249
```
249250

250251
Please note:
66.5 KB
Loading
131 KB
Loading
Binary file not shown.

0 commit comments

Comments
 (0)