chore: improve logging and error reporting across controllers, webhoooks , and the condition reporter - #323
Conversation
…ks, and the condition reporter Signed-off-by: Nachiket Roy <nachiket.roy.2@gmail.com>
✅ Deploy Preview for node-readiness-controller canceled.
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Nachiket-Roy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Welcome @Nachiket-Roy! |
|
Hi @Nachiket-Roy. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/ok-to-test |
|
@Nachiket-Roy: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Description
This PR improves observability in the node-readiness-controller by adding logging for several failure paths that were previously silent, while avoiding excessive log noise in hot code paths.
Changes
isBootstrapCompletedto make bootstrap-related failures easier to diagnose.ruleAppliesToto a verbose log level to avoid flooding logs during reconciliation.Type of Change
/kind cleanup
Checklist
make testmake lintDoes this PR introduce a user-facing change?
Improved logging for node readiness health checks, selector validation, and controller error paths to make debugging and operational troubleshooting easier.