mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Switch on the resource requested prioritization.
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user