mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-18 08:34:55 -04:00
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. |
||
|---|---|---|
| .. | ||
| algorithm | ||
| algorithmprovider | ||
| api | ||
| factory | ||
| metrics | ||
| extender.go | ||
| extender_test.go | ||
| generic_scheduler.go | ||
| generic_scheduler_test.go | ||
| modeler.go | ||
| modeler_test.go | ||
| scheduler.go | ||
| scheduler_test.go | ||