Skip to content

Commit

Permalink
Merge pull request kubernetes#41747 from Arhell/id-fix
Browse files Browse the repository at this point in the history
[id] Fix node score calculation
  • Loading branch information
k8s-ci-robot authored Jun 25, 2023
2 parents 3ac316c + dd669d5 commit c2bc1f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ CPU = resourceScoringFunction((2+1),8)
= rawScoringFunction(37.5)
= 3
NodeScore = (7 * 5) + (5 * 1) + (3 * 3) / (5 + 1 + 3)
NodeScore = ((7 * 5) + (5 * 1) + (3 * 3)) / (5 + 1 + 3)
= 5
Expand Down Expand Up @@ -209,7 +209,7 @@ CPU = resourceScoringFunction((2+6),8)
= rawScoringFunction(100)
= 10
NodeScore = (5 * 5) + (7 * 1) + (10 * 3) / (5 + 1 + 3)
NodeScore = ((5 * 5) + (7 * 1) + (10 * 3)) / (5 + 1 + 3)
= 7
```
Expand Down

0 comments on commit c2bc1f4

Please sign in to comment.