-
Notifications
You must be signed in to change notification settings - Fork 917
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
execute InterpretHealth even if statusRaw is nil #4453
Conversation
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.
/lgtm
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.
Thanks~
/lgtm
/cc @RainbowMango
After revisiting the implementation of karmada/pkg/resourceinterpreter/default/native/default.go Lines 154 to 163 in 88bed31
We only provided default implementations for a few So, let's assume that resources that do not implement the |
+1 |
Signed-off-by: chaosi-zju <[email protected]>
update: change implemetion to |
/lgtm Please help update the title. |
update: re-tested okay. |
I think we need release-notes |
done |
That makes sense to me. No matter whether the status is empty or not, just let I understand this PR focuses on fixing the issue tracked by #4430, and the improvement discussed above(#4453 (comment)) should be tracked by another issue/PR. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RainbowMango 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
continue to execute InterpretHealth even if statusRaw is nil, otherwise, the graceful eviction controller could not parse the service's health status, the EvictionTask will be kept for 10min, details described in #4430
Which issue(s) this PR fixes:
Fixes #4430
Special notes for your reviewer:
Test Report:
Does this PR introduce a user-facing change?: