Kensei Nakada
1ac9444c00
Change the wordings and set the log level
...
Co-authored-by: Alex Wang <453102040@qq.com>
2022-02-08 11:16:42 +09:00
sanposhiho
ed23e2162a
Add log to see the extender's error
2022-02-07 02:50:08 +09:00
Patrick Ohly
9eaa2dc554
avoid klog Info calls without verbosity
...
In the following code pattern, the log message will get logged with v=0 in JSON
output although conceptually it has a higher verbosity:
if klog.V(5).Enabled() {
klog.Info("hello world")
}
Having the actual verbosity in the JSON output is relevant, for example for
filtering out only the important info messages. The solution is to use
klog.V(5).Info or something similar.
Whether the outer if is necessary at all depends on how complex the parameters
are. The return value of klog.V can be captured in a variable and be used
multiple times to avoid the overhead for that function call and to avoid
repeating the verbosity level.
2022-01-12 07:48:36 +01:00
Dave Chen
8609358975
Graduate PreferNominatedNode
to GA
...
Signed-off-by: Dave Chen <dave.chen@arm.com>
2021-11-24 14:50:53 +08:00
sanposhiho
9dc0489c1a
Fix: move parallelize package to non-internal file
2021-10-21 02:39:23 +09:00
Wei Huang
c2e9305173
Revert PR 103515
2021-09-08 13:23:30 -07:00
Xiao Yang
144f25afb5
Refactor the structure nodeScoreHeap
2021-07-28 14:48:12 +08:00
肖旸
1e2bf2548c
Add verbose logs for node/plugin scores when scheduling
2021-07-06 20:47:41 +08:00
Jerry-Ge
570365178a
merge packages of scheduler/core and scheduler
...
Signed-off-by: Jerry Ge <jerry.ge@arm.com>
2021-07-05 14:21:32 +08:00
hurf
6203ce9f85
Move pkg/scheduler to plugin/pkg/scheduler
...
As the TODO in plugin/pkg/scheduler/scheduler.go described:
move everything from pkg/scheduler into this package. Remove
references from registry.
2015-05-13 14:03:25 +08:00
Eric Paris
6b3a6e6b98
Make copyright ownership statement generic
...
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Kris Rousey
81497f3ed2
Changing the scheduler package to use *api.Pod instead of api.Pod to
...
avoid unnecessary shallow copies. The change rippled through a lot of
code.
2015-04-17 13:34:31 -07:00
Abhishek Gupta
a04e600f16
Added test cases
2015-03-02 10:00:20 -08:00
Brendan Burns
33f6576f61
Log a better error with useful info on scheduling failures.
2015-02-23 20:36:22 -08:00
Clayton Coleman
19379b5a38
Internal rename api.Minion -> api.Node
2014-12-10 12:08:18 -05:00
Abhishek Gupta
d17cebcd2a
Implementing PR feedback and adding test cases
2014-12-08 14:47:05 -08:00
Abhishek Gupta
5fa1dbc07b
Implementing PR feedback
...
- Making ConfigFactory struct public
- Added comments for predicate/priority functions and new methods
2014-12-08 14:47:05 -08:00
Abhishek Gupta
13831856c9
Combining scheduler priority functions using weighted averages
2014-12-08 14:47:05 -08:00
Abhishek Gupta
7f374030c1
Fixing gofmt errors
2014-12-08 14:47:05 -08:00
Abhishek Gupta
1eb28b0aa3
Scheduler changes to allow multiple priority functions
2014-12-08 14:47:05 -08:00
Abhishek Gupta
6b712cc700
Scheduler changes for extensibility
2014-12-08 14:47:05 -08:00
Claire Li
4bee622865
Add check for empty priority list and refactor tests.
2014-11-06 21:38:41 -08:00
Claire Li
415ac3bf8a
Refactor selectHost in generic_scheduler
2014-11-05 21:26:25 -08:00
Claire Li
0e989afa66
Cleanup generic_scheduler
2014-11-04 21:39:10 -08:00
Clayton Coleman
bb77a5d15f
Rename ID -> Name
2014-10-22 15:00:26 -04:00
Brendan Burns
4230a8ca61
Add a least-requested priority function
2014-10-08 15:31:38 -07:00
Brendan Burns
1bb962961c
Refactor schedulers, remove schedulers, use generic scheduler.
2014-09-26 10:26:25 -07:00
Brendan Burns
44703efe2e
Simplify schedulers.
2014-09-25 11:36:22 -07:00
Brendan Burns
0cf8f28112
Refactor the code to make it more readable.
2014-09-25 10:49:36 -07:00
Brendan Burns
9ed8486fd7
Add a generic scheduler.
2014-09-24 15:38:52 -07:00