intel / cri-resource-manager

Kubernetes Container Runtime Interface proxy service with hardware resource aware workload placement policies
Apache License 2.0
176 stars 57 forks source link

[release-0.8]: backports from master #1048

Closed marquiz closed 1 year ago

marquiz commented 1 year ago

This PR cherry-picks and backports a big pile of patches from the master branch, all in preparation for the next patch release. The patches can be divided into two major categories:

  1. updates and fixes to the build/CI infra, enabling us to build container images and other release assets as GitHub workflows
  2. Fixes and updates to dependencies
askervin commented 1 year ago

Guys, hold this for a little while, I'm still debugging why some e2e tests failed on this branch...

codecov-commenter commented 1 year ago

Codecov Report

Merging #1048 (24d0251) into release-0.8 (adb0945) will decrease coverage by 0.14%. The diff coverage is 62.80%.

@@               Coverage Diff               @@
##           release-0.8    #1048      +/-   ##
===============================================
- Coverage        33.58%   33.44%   -0.14%     
===============================================
  Files               61       60       -1     
  Lines             9159     9140      -19     
===============================================
- Hits              3076     3057      -19     
+ Misses            5798     5797       -1     
- Partials           285      286       +1     
Files Changed Coverage Δ
pkg/cgroups/cgroupstats.go 0.00% <0.00%> (ø)
pkg/cri/resource-manager/cache/utils.go 23.20% <0.00%> (-11.50%) :arrow_down:
...i/resource-manager/control/page-migrate/demoter.go 17.95% <0.00%> (ø)
...manager/policy/builtin/balloons/balloons-policy.go 1.70% <0.00%> (ø)
...esource-manager/policy/builtin/balloons/metrics.go 0.00% <ø> (ø)
...esource-manager/policy/builtin/podpools/metrics.go 0.00% <0.00%> (ø)
...manager/policy/builtin/podpools/podpools-policy.go 23.78% <0.00%> (ø)
...urce-manager/policy/builtin/static-pools/config.go 5.88% <0.00%> (ø)
...rce-manager/policy/builtin/topology-aware/cache.go 41.22% <ø> (ø)
...urce-manager/policy/builtin/topology-aware/hint.go 80.76% <ø> (ø)
... and 11 more

... and 1 file with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

marquiz commented 1 year ago

Cherry-picked the latest fixes to e2e tests plust the bugfix to page demoter: