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/book/src/developer/providers/migrations/v1.8-to-v1.9.md
+10
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,16 @@ maintainers of providers and consumers of our Go API.
17
17
18
18
### Other
19
19
20
+
- Notes for Machines managed by KCP (starting with Cluster API v1.8.2):
21
+
- KCP adds its own pre-terminate hook on all Machines it controls. This is done to ensure it can later remove
22
+
the etcd member right before Machine termination (i.e. before InfraMachine deletion). If the etcd member would be
23
+
removed earlier, kubelet would start failing and the Node drain would not work.
24
+
- Starting with Kubernetes v1.31 the KCP pre-terminate hook will wait for all other pre-terminate hooks to finish to
25
+
ensure it runs last (thus ensuring that kubelet is still working while other pre-terminate hooks run). This is only done
26
+
for v1.31 or above because the kubeadm ControlPlaneKubeletLocalMode was introduced with kubeadm 1.31. This feature configures
27
+
the kubelet to communicate with the local apiserver. Only because of that the kubelet immediately starts failing after the etcd
28
+
member is removed. We need the ControlPlaneKubeletLocalMode feature with 1.31 to adhere to the kubelet skew policy.
29
+
20
30
### Suggested changes for providers
21
31
22
32
- The Errors package was created when capi provider implementation was running as machineActuators that needed to vendor core capi to function. There is no usage recommendations today and its value is questionable since we moved to CRDs that inter-operate mostly via conditions. Instead we plan to drop the dedicated semantic for terminal failure and keep improving Machine lifecycle signal through conditions. Therefore the Errors package [has been deprecated in v1.8](https://github.com/kubernetes-sigs/cluster-api/issues/10784). It's recommented to remove any usage of the currently exported variables.
0 commit comments