Skip to content

Commit ef31d28

Browse files
Address comments
1 parent cd6beb7 commit ef31d28

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

docs/book/src/reference/glossary.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ not limited to be expanded in the future.
268268

269269
Any change to a Machine spec, that is performed without deleting the machines and creating a new one.
270270

271-
Note: changing [in-place mutable fields](#in-place-mutable-fields) is not considered and in-place upgrade.
271+
Note: changing [in-place mutable fields](#in-place-mutable-fields) is not considered an in-place upgrade.
272272

273273
### Instance
274274

@@ -469,14 +469,14 @@ See [Topology Mutation](../tasks/experimental-features/runtime-sdk/implement-top
469469
# U
470470
---
471471

472-
### Update Lifecycle Hooks
473-
Is a set of Cluster API [Runtime Hooks](#runtime-hook) called when performing the "can update in-place" decision or
474-
when performing an [in-place update](#in-place-update).
475-
476472
### Update Extension
477473

478474
A [runtime extension provider](#runtime-extension-provider) that implements [Update Lifecycle Hooks](#update-lifecycle-hooks).
479475

476+
### Update Lifecycle Hooks
477+
Is a set of Cluster API [Runtime Hooks](#runtime-hook) called when performing the "can update in-place" decision or
478+
when performing an [in-place update](#in-place-update).
479+
480480
# W
481481
---
482482

docs/proposals/20240807-in-place-updates-implementation-notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ into the proposal or into the user-facing documentation for this feature.
77

88
## Notes about in-place update implementation for machine deployments
99

10-
- In place is always considered as potentially disruptive
11-
- in place must respect maxUnavailable
10+
- In-place update is always considered as potentially disruptive
11+
- in-place update must respect maxUnavailable
1212
- if maxUnavailable is zero, a new machine must be created first, then as soon as there is “buffer” for in-place, in-place update can proceed
1313
- when in-place is possible, the system should try to in-place update as many machines as possible.
1414
- maxSurge is not fully used (it is used only for scale up by one if maxUnavailable =0)

docs/proposals/20240807-in-place-updates.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This approach, inspired by the principle of immutable infrastructure (the very s
100100

101101
Over time several improvement were made to Cluster API immutable rollouts:
102102
* Support for delete first strategy, thus making it easier to do immutable rollouts on bare metal / environments with constrained resources.
103-
* Support for [In place propagation of changes affecting Kubernetes objects only](https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20221003-In-place-propagation-of-Kubernetes-objects-only-changes.md), thus avoiding unnecessary rollouts
103+
* Support for [In-place propagation of changes affecting Kubernetes objects only](https://github.com/kubernetes-sigs/cluster-api/blob/main/docs/proposals/20221003-In-place-propagation-of-Kubernetes-objects-only-changes.md), thus avoiding unnecessary rollouts
104104
* Support for [Taint nodes with PreferNoSchedule during rollouts](https://github.com/kubernetes-sigs/cluster-api/pull/10223), thus reducing Pod churn by optimizing how Pods are rescheduled during rollouts.
105105

106106
Even if the project continues to improve immutable rollouts, most probably there are and there will always be some remaining use cases where it is complex for users to perform immutable rollouts, or where users perceive immutable rollouts to be too disruptive to how they are used to manage machines in their organization:
@@ -366,7 +366,7 @@ Please refer to [implementation note](./20240807-in-place-updates-implementation
366366

367367
### Machine updates
368368

369-
Once a Machine is marked as `Updating` in place and the Machine's spec has been updated with the desired changes, the Machine controller takes over. This controller is responsible for calling the updaters and tracking the progress of those updaters and exposing this progress in the Machine conditions.
369+
Once a Machine is marked as `Updating` in-place and the Machine's spec has been updated with the desired changes, the Machine controller takes over. This controller is responsible for calling the updaters and tracking the progress of those updaters and exposing this progress in the Machine conditions.
370370

371371
The Machine controller currently calls only one updater (we are explicitly not trying to design a solution for ordering of execution at this stage. However, determining a specific ordering mechanism or dependency management between update extensions will need to be addressed in future iterations of this proposal).
372372

@@ -500,7 +500,7 @@ Given that there are still changes not covered, KCP continue with the next updat
500500
}
501501
```
502502

503-
The difference between current and desired will still be the change applied by the user;
503+
The difference between current and desired will still be the change applied by the user.
504504
If instead the `vsphere-vm-memory-update` would have declared its ability to perform some changes via a patch,
505505
those changes would be applied to change "current" state the second extension should consider.
506506

0 commit comments

Comments
 (0)