add failed pod eviction plugin to descheduler [ci skip]

This commit is contained in:
Viktor Barzin 2025-04-14 17:07:08 +00:00
parent df5403bab5
commit 55bf707b89
2 changed files with 14 additions and 1 deletions

View file

@ -123,8 +123,10 @@ deschedulerPolicy:
- name: RemoveDuplicates
- name: RemovePodsHavingTooManyRestarts
args:
podRestartThreshold: 100
podRestartThreshold: 2
includingInitContainers: true
states:
- CrashLoopBackOff
- name: RemovePodsViolatingNodeAffinity
args:
nodeAffinityType:
@ -158,6 +160,16 @@ deschedulerPolicy:
- "calico-apiserver"
- "metallb-system"
- "monitoring"
- name: "RemoveFailedPods"
args:
reasons:
- "CrashLoopBackOff"
- "Error"
- "ContainerStatusUnknown"
# exitCodes:
# - 1
includingInitContainers: true
minPodLifetimeSeconds: 1
plugins:
balance:
enabled:
@ -171,6 +183,7 @@ deschedulerPolicy:
- RemovePodsViolatingNodeAffinity
- RemovePodsViolatingInterPodAntiAffinity
- PodLifeTime
- RemoveFailedPods
priorityClassName: system-cluster-critical

Binary file not shown.