Do BM nodes get re-provisioned with custom remediation set to reboot? #651
Unanswered
Privatecoder
asked this question in
Q&A
Replies: 2 comments
-
I did read https://github.com/syself/cluster-api-provider-hetzner/blob/main/docs/topics/advanced-caph.md#machine-health-checks-with-custom-remediation-template however I am wondering if the |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have another question: How can we prevent BM nodes from being re-provisioned when they become unhealthy with
MachineHealthChecks
in place?When cloud-nodes have pvc's through Hetzners csi, bm-nodes don't, so if one uses local storage, everything will be lost if a node gets re-provisioned after becoming unhealthy.
It would be better to manually re-provision the node if necessary. So:
With three BM nodes running a HA-deployment (with local storage) and
MaxUnhealthy
set to2
along with a customHetznerBareMetalRemediationTemplate
set tostrategy.type: "Reboot"
the HealthCheckController will try toReboot
a BM node only if two or fewer BM nodes are unhealthy.But: What happens after
strategy.retryLimit
has been reached? Will the controller then proceed to re-initialize the BM node or just mark it as unhealthy forever?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions