kubewharf / katalyst-core

Katalyst aims to provide a universal solution to help improve resource utilization and optimize the overall costs in the cloud. This is the core components in Katalyst system, including multiple agents and centralized components
Apache License 2.0
389 stars 91 forks source link

feat(agent): refactor eviction/reporter healthz rule #614

Closed zzzzhhb closed 3 weeks ago

zzzzhhb commented 3 weeks ago

What type of PR is this?

enhancements

What this PR does / why we need it:

refactor healthz rules for eviction manager and reporter manager

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 73.68421% with 5 lines in your changes missing coverage. Please review.

Project coverage is 56.31%. Comparing base (11f15e8) to head (58675bb).

Files Patch % Lines
pkg/agent/evictionmanager/manager.go 0.00% 2 Missing :warning:
...ent/evictionmanager/plugin/memory/numa_pressure.go 90.00% 1 Missing :warning:
...t/evictionmanager/plugin/memory/system_pressure.go 50.00% 1 Missing :warning:
...agent/evictionmanager/plugin/resource/resources.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #614 +/- ## ========================================== + Coverage 56.21% 56.31% +0.10% ========================================== Files 543 543 Lines 50302 50314 +12 ========================================== + Hits 28275 28336 +61 + Misses 18436 18383 -53 - Partials 3591 3595 +4 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/614/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/614/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.31% <73.68%> (+0.10%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.