diff --git a/scheduler/stack.go b/scheduler/stack.go index fa76cbe21..d685be1c7 100644 --- a/scheduler/stack.go +++ b/scheduler/stack.go @@ -11,11 +11,11 @@ const ( // serviceJobAntiAffinityPenalty is the penalty applied // to the score for placing an alloc on a node that // already has an alloc for this job. - serviceJobAntiAffinityPenalty = 10.0 + serviceJobAntiAffinityPenalty = 20.0 // batchJobAntiAffinityPenalty is the same as the // serviceJobAntiAffinityPenalty but for batch type jobs. - batchJobAntiAffinityPenalty = 5.0 + batchJobAntiAffinityPenalty = 10.0 ) // Stack is a chained collection of iterators. The stack is used to