-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NodeHealthCheck status is not updated when remediation CR is deleted by remediator #266
Comments
Hi @aibarbetta, thanks for reaching out. Unfortunately that doc is outdated, sorry for that! I hope this helps! I will update the doc soonish 🙂 |
Just curious, what kind of remediator are you using? 🙂 |
Thanks @slintes! a NHC upgrade and setting that condition fixed the issue :)
I needed something like self-node-remediation, but I run k8s on-premise with a custom storage provider, so I require some extra storage operations in the remediation. I also have requirements for notifying remediations in Slack and JIRA, running some IPMI commands, etc, so I decided to use NHC but integrated with a custom operator (written by me) with all that special remediation logic :) |
Glad that it worked 🙂 |
Hi all, I'm using NHC with a custom remediator. In some cases, my Kubernetes nodes are deleted, and as the documentation says here, my remediator will delete the remediation Custom Resource. The issue is that the NHC resource still shows these old remediations on its phase, reason, and inFlightRemediations:
this blocks all updates and deletion of the NHC resource, since the validating webhook thinks a remediation is still in progress and responds with:
am I missing a configuration to signal NHC of these deletions?
The text was updated successfully, but these errors were encountered: