Merge pull request #7140 from abhgupta/abhgupta-dev
Including balanced resource allocation priority in the default set
This commit is contained in:
commit
70624f0ca6
@ -60,6 +60,8 @@ func defaultPriorities() util.StringSet {
|
|||||||
return util.NewStringSet(
|
return util.NewStringSet(
|
||||||
// Prioritize nodes by least requested utilization.
|
// Prioritize nodes by least requested utilization.
|
||||||
factory.RegisterPriorityFunction("LeastRequestedPriority", algorithm.LeastRequestedPriority, 1),
|
factory.RegisterPriorityFunction("LeastRequestedPriority", algorithm.LeastRequestedPriority, 1),
|
||||||
|
// Prioritizes nodes to help achieve balanced resource usage
|
||||||
|
factory.RegisterPriorityFunction("BalancedResourceAllocation", algorithm.BalancedResourceAllocation, 1),
|
||||||
// spreads pods by minimizing the number of pods (belonging to the same service) on the same minion.
|
// spreads pods by minimizing the number of pods (belonging to the same service) on the same minion.
|
||||||
factory.RegisterPriorityConfigFactory(
|
factory.RegisterPriorityConfigFactory(
|
||||||
"ServiceSpreadingPriority",
|
"ServiceSpreadingPriority",
|
||||||
|
Loading…
Reference in New Issue
Block a user