Switch on the resource requested prioritization.

This commit is contained in:
Brendan Burns
2014-10-09 10:41:42 -07:00
parent b3292e947f
commit b5ec8a747b
6 changed files with 24 additions and 4 deletions

View File

@@ -76,8 +76,8 @@ func (factory *ConfigFactory) Create() (*scheduler.Config, error) {
// Fit is determined by resource availability
algorithm.NewResourceFitPredicate(algorithm.StaticNodeInfo{nodes}),
},
// All nodes where things fit are equally likely (Random)
algorithm.EqualPriority,
// Prioritize nodes by least requested utilization.
algorithm.LeastRequestedPriority,
&storeToPodLister{podCache}, r)
podBackoff := podBackoff{