-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Consider filtering out finalizer warnings in controller logs #11065
Comments
/cc @dlipovetsky (just fyi) |
@sbueringer whats expected from this issue, If you can provide some info, I can try working on it. |
+1 to implement this while we figure it out the transition to fully compliant finalizers tracked in #10914 |
@Karthik-K-N Sorry just noticed that this might have a big overlap with this: #11149 (comment) Let's see how the other PR goes first. Potentially we can just use the same implementation |
Sure, will wait Thank you. |
I missed the tag earlier. I think this is separate from the change in clusterctl (#11149), but the implementation should be similar. We may want to hide specific warnings (e.g. only warnings related to Cluster API finalizers) in controllers and clusterctl. In that case, we'll need to implement a warning handler, and we can use that in both places. Is that something we want? If so, I can file a PR for that handler. I have a draft PR for hiding all warnings in clusterctl (#11173). |
Yeah I was thinking that the PR you wanted to open might lead to that, but I was waiting to see how that goes :) |
I'm not sure if we should just ignore all warnings in clusterctl. Mostly because I don't know what other warnings there might be, so I thought it's maybe better to only hide/ignore what we know is absolutely safe to ignore (the finalizer warning) |
Context:
The warnings we get today in our controllers look like this:
As we are aware of the "problem" and it will take us a while to migrate away from our current finalizers, I think we should consider to filter out the warnings in our controller logs.
Today logging the warnings produces a lot of spam and nobody that is running Cluster API can do anything about it.
The text was updated successfully, but these errors were encountered: