mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 13:29:11 +01:00
Remove options.DeschedulerServer from all strategies
This commit is contained in:
@@ -125,17 +125,15 @@ func startEndToEndForLowNodeUtilization(clientset clientset.Interface, nodeInfor
|
||||
},
|
||||
}
|
||||
|
||||
ds := &options.DeschedulerServer{Client: clientset}
|
||||
|
||||
podEvictor := evictions.NewPodEvictor(
|
||||
ds.Client,
|
||||
clientset,
|
||||
evictionPolicyGroupVersion,
|
||||
ds.DryRun,
|
||||
ds.MaxNoOfPodsToEvictPerNode,
|
||||
false,
|
||||
0,
|
||||
nodes,
|
||||
)
|
||||
|
||||
strategies.LowNodeUtilization(ds, lowNodeUtilizationStrategy, nodes, podEvictor)
|
||||
strategies.LowNodeUtilization(clientset, lowNodeUtilizationStrategy, nodes, false, podEvictor)
|
||||
time.Sleep(10 * time.Second)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user