need to be able to control Machine.spec.nodeDeletionTimeout #574
Labels
kind/enhancement
New feature or request
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
Describe the solution you'd like:
It is important to be able to set
Machine.spec.nodeDeletionTimeout
to zero in some cases (see below), but contrarily toKubeadmControlPlane
, which offersKubeadmControlPlane.spec.machineTemplate.nodeDeletionTimeout
, RKE2ControlPlane does not allow controlling this value.Why do you want this feature:
A specific case where it is important to set
Machine.spec.nodeDeletionTimeout
to zero is the following:Machine.spec.nodeDeletionTimeout
(10s), if for some reason the first attempts at deleting the Node fail (e.g because k8s API is flaky at that time), no further attempt at deleting the Node object will be doneDetails here about the bug as we hit it in Sylva: https://gitlab.com/sylva-projects/sylva-core/-/issues/1431
Anything else you would like to add:
Generally speaking, it would seem useful to have RKE2ControlPlane.spec.machineTemplate have all the fields that
KubeadmControlPlane.spec.machineTemplate
has, includingnodeDeletionTimeout
, but alsonodeVolumeDetachTimeout
.The text was updated successfully, but these errors were encountered: