kubernetes/plugin/pkg/scheduler
Oleg Shaldybin 3a36dfb306 Minor selectHost optimization in scheduler
Instead of sorting hosts by score, find max score and choose one of
the hosts with max score directly. Saves a little time on sorting and
avoids extra copying of HostPriorityList entries.

Test had to be updated as one of the test cases relied on having a
stable order from pre-sorting.
2016-02-08 12:37:37 -05:00
..
algorithm Merge pull request #20140 from resouer/scheduler 2016-02-05 20:08:31 -08:00
algorithmprovider Merge pull request #19880 from DirectXMan12/feature/limit-ebs-scheduler-predicate 2016-02-05 09:26:42 -08:00
api Switch API objects to not register per version codecs 2016-01-22 01:10:21 -05:00
factory Merge pull request #20254 from hongchaodeng/plugin 2016-02-06 13:23:43 -08:00
metrics Fix duplicated rate limit in scheduler 2016-01-13 20:51:55 +08:00
extender_test.go Don't recreate the same map 3 times 2015-12-16 20:39:28 -08:00
extender.go Scheduler extension 2015-11-25 08:19:27 -08:00
generic_scheduler_test.go Minor selectHost optimization in scheduler 2016-02-08 12:37:37 -05:00
generic_scheduler.go Minor selectHost optimization in scheduler 2016-02-08 12:37:37 -05:00
modeler_test.go Move version agnostic parts of client 2015-09-10 17:17:59 -07:00
modeler.go Move version agnostic parts of client 2015-09-10 17:17:59 -07:00
scheduler_test.go extend fake clock 2016-02-01 15:36:15 -08:00
scheduler.go Rewritte util.* -> wait.* wherever reasonable 2016-02-07 12:02:20 +01:00