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(*): move all dependency for kubelet configurations to util #582

Closed waynepeking348 closed 1 month ago

waynepeking348 commented 1 month ago

What type of PR is this?

Features

What this PR does / why we need it:

move all dependencies for kubelet configuration to util

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 56.18%. Comparing base (74b648c) to head (b013473).

Files Patch % Lines
pkg/agent/qrm-plugins/memory/dynamicpolicy/util.go 0.00% 3 Missing :warning:
pkg/util/kubelet/config/kubeletconfig.go 93.18% 2 Missing and 1 partial :warning:
pkg/agent/qrm-plugins/cpu/nativepolicy/policy.go 0.00% 2 Missing :warning:
...or/plugin/overcommitmentaware/realtime/realtime.go 50.00% 0 Missing and 2 partials :warning:
pkg/agent/qrm-plugins/cpu/util/util.go 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #582 +/- ## ========================================== + Coverage 56.06% 56.18% +0.12% ========================================== Files 534 535 +1 Lines 49807 49817 +10 ========================================== + Hits 27924 27990 +66 + Misses 18325 18260 -65 - Partials 3558 3567 +9 ``` | [Flag](https://app.codecov.io/gh/kubewharf/katalyst-core/pull/582/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/582/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=kubewharf) | `56.18% <80.00%> (+0.12%)` | :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.