-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Issue-1084] Addjust scheduler extender algorithm #1086
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1086 +/- ##
==========================================
+ Coverage 72.76% 72.78% +0.02%
==========================================
Files 63 63
Lines 8949 8956 +7
==========================================
+ Hits 6512 6519 +7
- Misses 2147 2149 +2
+ Partials 290 288 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Andrzej Zukowski <[email protected]>
return | ||
pod := extenderArgs.Pod | ||
var hostPriority []schedulerapi.HostPriority | ||
requests, _ := e.gatherCapacityRequestsByProvisioner(context.TODO(), pod) |
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.
Do we need to check error?
ll.Errorf("Unable to score %v", err) | ||
return | ||
} | ||
ll.Infof("Score results for pod %s: %v", pod, hostPriority) |
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.
Better to print just pod namespace and name
return | ||
pod := extenderArgs.Pod | ||
var hostPriority []schedulerapi.HostPriority | ||
requests, _ := e.gatherCapacityRequestsByProvisioner(context.TODO(), pod) |
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.
Better to replace TODO context by context with value
Purpose
Resolves #1084
Describe your changes
PR checklist
Testing
Provide test details