You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/proposals/20240807-in-place-updates.md
+6-4
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ Refer to the [Cluster API Book Glossary](https://cluster-api.sigs.k8s.io/referen
66
66
67
67
__In-place Update__: any change to a Machine spec, including the Kubernetes Version, that is performed without deleting the machines and creating a new one.
__Update Extension__: Runtime Extension (Implementation) is a component responsible to perform in place updates when the `External Update Lifecycle Hook` is invoked.
72
72
@@ -213,7 +213,7 @@ sequenceDiagram
213
213
When configured, external updates will, roughly, follow these steps:
214
214
1. CP/MD Controller: detect an update is required.
215
215
2. CP/MD Controller: query defined update extensions, and based on the response decides if an update should happen in-place. If not, the update will be performed as of today (rollout).
216
-
3. CP/MD Controller: mark machines as pending using `sigs.k8s.io/cluster-api/internal/hooks.MarkAsPending()` function to track that updaters should be called.
216
+
3. CP/MD Controller: mark machines as pending to track that updaters should be called.
217
217
4. Machine Controller: set `UpToDate` condition on machines to `False`.
218
218
5. Machine Controller: invoke all registered updaters, sequentially, one by one.
219
219
6. Machine Controller: once updaters finish use `sigs.k8s.io/cluster-api/internal/hooks.MarkAsDone()` to mark machine as done updating.
@@ -376,7 +376,7 @@ Once all of the updaters are complete, the Machine controller will mark machine
376
376
377
377
From this point on, the `KCP` or `MachineDeployment` controller will take over and set the `UpToDate` condition to `True`.
378
378
379
-
Note: We might revisit which controller should set `UpToDate` during implementation, because we have to make sure there are no race conditions that can lead to reconcile failures, but apart from the ownership of this operation, the workflows described in this doc should not be impacted.
379
+
*Note: We might revisit which controller should set `UpToDate` during implementation, because we have to make sure there are no race conditions that can lead to reconcile failures, but apart from the ownership of this operation, the workflows described in this doc should not be impacted.*
380
380
381
381
### Infra Machine Template changes
382
382
@@ -661,7 +661,7 @@ sequenceDiagram
661
661
participant capi as MD controller
662
662
participant msc as MachineSet Controller
663
663
participant mach as Machine Controller
664
-
participant hook as KCP version <br>update extension
664
+
participant hook2 as KCP version <br>update extension
665
665
participant hook as vSphere memory <br>update extension
0 commit comments