Achilleas Tzenetopoulos 5 years ago
parent
commit
3348ed1960

+ 1 - 1
kubernetes-v1.15.4/pkg/scheduler/algorithm/priorities/node_selection.go

@@ -125,7 +125,7 @@ type scorerInput struct {
 }
 }
 
 
 func OneScorer(si scorerInput) float64 {
 func OneScorer(si scorerInput) float64 {
-	return 1 - si.metrics[si.metricName]
+	return 100 - si.metrics[si.metricName]
 }
 }
 
 
 // func customScoreFn(metrics map[string]float64) float64 {
 // func customScoreFn(metrics map[string]float64) float64 {