-
Notifications
You must be signed in to change notification settings - Fork 1.4k
🌱 machine: prevent error spamming for NodeOutdatedTaint if objects are not found #11148
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
🌱 machine: prevent error spamming for NodeOutdatedTaint if objects are not found #11148
Conversation
/assign sbueringer fabriziopandini |
The PR title is a bit misleading :) |
Damn.. renamed it -> rebase -> refresh page -> lost my title... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
/lgtm
LGTM label has been added. Git tree hash: 0b18acee362a0e507069bed629192386e81d2dec
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last findings - I think
internal/controllers/machine/machine_controller_noderef_test.go
Outdated
Show resolved
Hide resolved
5effe80
to
1bfe0b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last nit from my side. Otherwise lgtm
Thx for improving this!!
internal/controllers/machine/machine_controller_noderef_test.go
Outdated
Show resolved
Hide resolved
/assign @fabriziopandini (for a final review as well) |
/hold cancel |
Thank you!! /lgtm |
LGTM label has been added. Git tree hash: 5493554a929abbbcdf750017665daf46ba015447
|
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cherry-pick release-1.8 |
@sbueringer: new pull request created: #11199 In response to this:
Instructions 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. |
What this PR does / why we need it:
This PR reduces spammy output especially during background deletion of objects like a whole cluster.
Example from https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_cluster-api/11146/pull-cluster-api-e2e-blocking-main/1832066840088547328/artifacts/clusters/bootstrap/logs/capi-system/capi-controller-manager/capi-controller-manager-5f5f6bcf4c-4zpjc/manager.log :
Example: owner reference is gone:
Example MachineDeployment gone:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
/area machine