1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

Merge pull request #481 from damemi/ignore-pvc-pods

Add option to ignore pods with PVCs from eviction
This commit is contained in:
Kubernetes Prow Robot
2021-01-26 22:41:40 -08:00
committed by GitHub
20 changed files with 107 additions and 1 deletions

View File

@@ -35,6 +35,9 @@ type DeschedulerPolicy struct {
// EvictLocalStoragePods allows pods using local storage to be evicted.
EvictLocalStoragePods *bool
// IgnorePVCPods prevents pods with PVCs from being evicted.
IgnorePVCPods *bool
// MaxNoOfPodsToEvictPerNode restricts maximum of pods to be evicted per node.
MaxNoOfPodsToEvictPerNode *int
}