1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

pkg/descheduler/strategies: fix typo

Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
This commit is contained in:
Mateusz Gozdek
2020-10-21 08:43:25 +02:00
parent 3399619395
commit 31cf70c34c

View File

@@ -219,7 +219,7 @@ func getNodeUsage(
node: node,
usage: nodeUtilization(node, pods),
allPods: pods,
// A treshold is in percentages but in <0;100> interval.
// A threshold is in percentages but in <0;100> interval.
// Performing `threshold * 0.01` will convert <0;100> interval into <0;1>.
// Multiplying it with capacity will give fraction of the capacity corresponding to the given high/low resource threshold in Quantity units.
lowResourceThreshold: map[v1.ResourceName]*resource.Quantity{