|
@@ -29,8 +29,8 @@ import (
|
|
|
)
|
|
|
|
|
|
var (
|
|
|
- customResourcePriority = &CustomAllocationPriority{"CustomResourceAllocation", customResourceScorer}
|
|
|
-
|
|
|
+ //customResourcePriority = &CustomAllocationPriority{"CustomResourceAllocation", customResourceScorer}
|
|
|
+ customResourcePriority = &CustomAllocationPriority{"CustomAllocationPriority", customResourceScorer}
|
|
|
// LeastRequestedPriorityMap is a priority function that favors nodes with fewer requested resources.
|
|
|
// It calculates the percentage of memory and CPU requested by pods scheduled on the node, and
|
|
|
// prioritizes based on the minimum of the average of the fraction of requested to capacity.
|