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

Merge pull request #751 from HelmutLety/redo_#473

feat: Add DeviationThreshold Paramter for LowNodeUtilization, (Previous attempt - #473 )
This commit is contained in:
Kubernetes Prow Robot
2022-03-28 03:53:24 -07:00
committed by GitHub
8 changed files with 162 additions and 23 deletions

View File

@@ -96,9 +96,10 @@ type Percentage float64
type ResourceThresholds map[v1.ResourceName]Percentage
type NodeResourceUtilizationThresholds struct {
Thresholds ResourceThresholds
TargetThresholds ResourceThresholds
NumberOfNodes int
UseDeviationThresholds bool
Thresholds ResourceThresholds
TargetThresholds ResourceThresholds
NumberOfNodes int
}
type PodsHavingTooManyRestarts struct {