katalyst-core icon indicating copy to clipboard operation
katalyst-core copied to clipboard

feat(cpu): add cpu plugin for vci

Open gaohuatao-1 opened this issue 1 year ago • 2 comments
trafficstars

What type of PR is this?

Features

What this PR does / why we need it:

To support customized cpu policy for VCI with pod level resources.

Which issue(s) this PR fixes:

Special notes for your reviewer:

gaohuatao-1 avatar Jun 17 '24 09:06 gaohuatao-1

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 17 '24 09:06 CLAassistant

Codecov Report

Attention: Patch coverage is 1.45078% with 951 lines in your changes missing coverage. Please review.

Project coverage is 55.72%. Comparing base (aec50da) to head (a99b51e). Report is 108 commits behind head on main.

Files with missing lines Patch % Lines
.../agent/qrm-plugins/cpu/vcipolicy/cpu_assignment.go 0.00% 379 Missing :warning:
pkg/agent/qrm-plugins/cpu/vcipolicy/policy.go 0.00% 181 Missing :warning:
pkg/util/machine/topology.go 6.92% 118 Missing and 3 partials :warning:
...rm-plugins/cpu/vcipolicy/state/state_checkpoint.go 0.00% 102 Missing :warning:
...g/agent/qrm-plugins/cpu/vcipolicy/policy_static.go 0.00% 65 Missing :warning:
...agent/qrm-plugins/cpu/vcipolicy/state/state_mem.go 0.00% 48 Missing :warning:
...kg/agent/qrm-plugins/cpu/vcipolicy/vci/resource.go 0.00% 29 Missing :warning:
...gent/qrm-plugins/cpu/vcipolicy/state/checkpoint.go 0.00% 17 Missing :warning:
pkg/agent/qrm-plugins/cpu/vcipolicy/state/state.go 0.00% 5 Missing :warning:
pkg/util/machine/util.go 50.00% 2 Missing and 2 partials :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #629      +/-   ##
==========================================
- Coverage   56.66%   55.72%   -0.94%     
==========================================
  Files         545      553       +8     
  Lines       51541    52506     +965     
==========================================
+ Hits        29205    29259      +54     
- Misses      18639    19547     +908     
- Partials     3697     3700       +3     
Flag Coverage Δ
unittest 55.72% <1.45%> (-0.94%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

codecov[bot] avatar Jun 17 '24 10:06 codecov[bot]