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

feat: support shared_cores overlap reclaimed_cores #565

Closed cheney-lin closed 5 days ago

cheney-lin commented 2 months ago

What type of PR is this?

Features

What this PR does / why we need it:

Which issue(s) this PR fixes:

Special notes for your reviewer:

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 82.84024% with 87 lines in your changes missing coverage. Please review.

Project coverage is 56.19%. Comparing base (8c5f5f2) to head (b56fa5b). Report is 2 commits behind head on main.

:exclamation: Current head b56fa5b differs from pull request most recent head 0b77b4e

Please upload reports for the commit 0b77b4e to get more accurate results.

Files Patch % Lines
...sysadvisor/plugin/qosaware/resource/cpu/advisor.go 58.62% 18 Missing and 6 partials :warning:
...pu/assembler/headroomassembler/assembler_common.go 78.02% 12 Missing and 8 partials :warning:
pkg/agent/sysadvisor/metacache/metacache.go 27.77% 10 Missing and 3 partials :warning:
...u/assembler/provisionassembler/assembler_common.go 91.20% 6 Missing and 5 partials :warning:
...n/qosaware/resource/cpu/isolation/isolator_load.go 44.44% 2 Missing and 3 partials :warning:
...st-agent/app/options/sysadvisor/sysadvisor_base.go 70.00% 3 Missing :warning:
...plugin/qosaware/resource/cpu/region/region_base.go 87.50% 2 Missing :warning:
pkg/agent/sysadvisor/types/helper.go 90.00% 1 Missing and 1 partial :warning:
pkg/util/general/common.go 81.81% 2 Missing :warning:
pkg/util/general/deepcopy.go 71.42% 1 Missing and 1 partial :warning:
... and 3 more
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #565 +/- ## ========================================== + Coverage 56.06% 56.19% +0.13% ========================================== Files 535 535 Lines 49871 50105 +234 ========================================== + Hits 27961 28159 +198 - Misses 18341 18385 +44 + Partials 3569 3561 -8 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/565/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/565/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.19% <82.84%> (+0.13%)` | :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.