RKE2 - set Machine.spec.nodeDeletionTimeout

In #1431 (closed) we had identified the need to set Machine.spec.nodeDeletionTimeout to zero.

We thought we were done with the topic, thanks to sylva-projects/sylva-elements/helm-charts/sylva-capi-cluster!393 (merged) and !2553 (merged).

But:

  • the RKE2ControlPlane case was only covered thanks to a Kyverno policy (!2553 (merged)) that was supposed to be temporary
  • the RKE2ControlPlane resource in fact does not yet natively allow to control this (this is tracked upstream in https://github.com/rancher/cluster-api-provider-rke2/issues/574)
  • ... in !3809 (merged) I removed the policy

So, what we now need to do:

  • short term: fix main by reintroducing the policy
  • monitor upstream implementation of https://github.com/rancher/cluster-api-provider-rke2/issues/574
  • ...once this is implemented:
    • use it in sylva-capi-cluster to set nodeDeletionTimeout to zero
    • remove the policy
Assignee Loading
Time tracking Loading