1
0
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:
Mike Dame
2021-01-11 11:19:02 -05:00
parent 19424f4119
commit c1a63a557a
20 changed files with 107 additions and 1 deletions

View File

@@ -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