mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
Add option to ignore pods with PVCs from eviction
This commit is contained in:
@@ -220,6 +220,7 @@ func runPodLifetimeStrategy(ctx context.Context, clientset clientset.Interface,
|
||||
0,
|
||||
nodes,
|
||||
false,
|
||||
false,
|
||||
),
|
||||
)
|
||||
}
|
||||
@@ -648,6 +649,7 @@ func evictPods(ctx context.Context, t *testing.T, clientSet clientset.Interface,
|
||||
0,
|
||||
nodeList,
|
||||
true,
|
||||
false,
|
||||
)
|
||||
for _, node := range nodeList {
|
||||
// Skip the Master Node
|
||||
|
||||
Reference in New Issue
Block a user