-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(sysadvisor): set numa capicity as requirement of numabinding pods when reclaimed disabled #158
fix(sysadvisor): set numa capicity as requirement of numabinding pods when reclaimed disabled #158
Conversation
c1b3ea4
to
6a11f3a
Compare
6a11f3a
to
e910da6
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #158 +/- ##
==========================================
+ Coverage 50.20% 50.67% +0.46%
==========================================
Files 408 408
Lines 38774 38833 +59
==========================================
+ Hits 19467 19677 +210
+ Misses 17126 16963 -163
- Partials 2181 2193 +12
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
2563ab7
to
a4cdf16
Compare
433c81b
to
f8813fa
Compare
@@ -55,6 +55,14 @@ func (p *PolicyCanonical) Update() error { | |||
return err | |||
} | |||
|
|||
if p.regionType == types.QoSRegionTypeDedicatedNumaExclusive && !enableReclaim { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be moved out of range loop for for podUID, containerSet := range p.podSet {
? since you will add up multiple times for cpuEstimation
and containerCnt
this way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and the same for provision_canonical.go
… when reclaimed disabled Signed-off-by: linzhecheng <linzhecheng@bytedance.com>
f8813fa
to
a099272
Compare
… when reclaimed disabled (kubewharf#158) Signed-off-by: linzhecheng <linzhecheng@bytedance.com>
… when reclaimed disabled
What type of PR is this?
Bug fixes
What this PR does / why we need it:
Which issue(s) this PR fixes:
Special notes for your reviewer: