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

chore(*): support dynamic config for cpu provision #626

Closed cheney-lin closed 2 days ago

cheney-lin commented 2 weeks 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 weeks ago

Codecov Report

Attention: Patch coverage is 56.55738% with 53 lines in your changes missing coverage. Please review.

Project coverage is 56.87%. Comparing base (aec50da) to head (6dcb7d5).

Files Patch % Lines
.../options/dynamic/adminqos/advisor/cpu_provision.go 51.61% 39 Missing and 6 partials :warning:
...lugin/qosaware/resource/cpu/region/region_share.go 60.00% 2 Missing and 2 partials :warning:
...plugin/qosaware/resource/cpu/region/region_base.go 50.00% 0 Missing and 3 partials :warning:
...p/options/dynamic/adminqos/advisor/advisor_base.go 75.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #626 +/- ## ========================================== + Coverage 56.66% 56.87% +0.21% ========================================== Files 545 543 -2 Lines 51541 51561 +20 ========================================== + Hits 29205 29326 +121 + Misses 18639 18528 -111 - Partials 3697 3707 +10 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/626/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/626/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.87% <56.55%> (+0.21%)` | :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.