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
394 stars 91 forks source link

feat(sysadvisor): add healthz check #520

Closed zzzzhhb closed 3 months ago

zzzzhhb commented 3 months ago

What type of PR is this?

Enhancements

What this PR does / why we need it:

add healthz check

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 54.42177% with 67 lines in your changes are missing coverage. Please review.

Project coverage is 55.52%. Comparing base (b122f7b) to head (f1f8720).

Files Patch % Lines
pkg/agent/evictionmanager/manager.go 10.34% 26 Missing :warning:
.../agent/metric/provisioner/malachite/provisioner.go 17.24% 24 Missing :warning:
...t/evictionmanager/plugin/memory/system_pressure.go 62.50% 6 Missing :warning:
pkg/agent/evictionmanager/conditions.go 0.00% 5 Missing :warning:
pkg/agent/resourcemanager/fetcher/manager.go 88.88% 1 Missing and 1 partial :warning:
pkg/agent/sysadvisor/plugin/metacache/metacache.go 75.00% 1 Missing :warning:
...nt/sysadvisor/plugin/qosaware/server/cpu_server.go 66.66% 1 Missing :warning:
...sysadvisor/plugin/qosaware/server/memory_server.go 66.66% 1 Missing :warning:
pkg/metaserver/agent/pod/pod.go 85.71% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #520 +/- ## ========================================== - Coverage 55.67% 55.52% -0.16% ========================================== Files 552 551 -1 Lines 59419 59507 +88 ========================================== - Hits 33083 33041 -42 - Misses 22899 23031 +132 + Partials 3437 3435 -2 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/520/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/520/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `55.52% <54.42%> (-0.16%)` | :arrow_down: | 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.