add failed pod eviction plugin to descheduler [ci skip]
This commit is contained in:
parent
a74c9ccef8
commit
bdccea93c4
1 changed files with 14 additions and 1 deletions
|
|
@ -123,8 +123,10 @@ deschedulerPolicy:
|
||||||
- name: RemoveDuplicates
|
- name: RemoveDuplicates
|
||||||
- name: RemovePodsHavingTooManyRestarts
|
- name: RemovePodsHavingTooManyRestarts
|
||||||
args:
|
args:
|
||||||
podRestartThreshold: 100
|
podRestartThreshold: 2
|
||||||
includingInitContainers: true
|
includingInitContainers: true
|
||||||
|
states:
|
||||||
|
- CrashLoopBackOff
|
||||||
- name: RemovePodsViolatingNodeAffinity
|
- name: RemovePodsViolatingNodeAffinity
|
||||||
args:
|
args:
|
||||||
nodeAffinityType:
|
nodeAffinityType:
|
||||||
|
|
@ -158,6 +160,16 @@ deschedulerPolicy:
|
||||||
- "calico-apiserver"
|
- "calico-apiserver"
|
||||||
- "metallb-system"
|
- "metallb-system"
|
||||||
- "monitoring"
|
- "monitoring"
|
||||||
|
- name: "RemoveFailedPods"
|
||||||
|
args:
|
||||||
|
reasons:
|
||||||
|
- "CrashLoopBackOff"
|
||||||
|
- "Error"
|
||||||
|
- "ContainerStatusUnknown"
|
||||||
|
# exitCodes:
|
||||||
|
# - 1
|
||||||
|
includingInitContainers: true
|
||||||
|
minPodLifetimeSeconds: 1
|
||||||
plugins:
|
plugins:
|
||||||
balance:
|
balance:
|
||||||
enabled:
|
enabled:
|
||||||
|
|
@ -171,6 +183,7 @@ deschedulerPolicy:
|
||||||
- RemovePodsViolatingNodeAffinity
|
- RemovePodsViolatingNodeAffinity
|
||||||
- RemovePodsViolatingInterPodAntiAffinity
|
- RemovePodsViolatingInterPodAntiAffinity
|
||||||
- PodLifeTime
|
- PodLifeTime
|
||||||
|
- RemoveFailedPods
|
||||||
|
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue