1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-25 20:59:28 +01:00

feat: add RemovePodsHavingTooManyRestarts to yaml

This does the following:
1. Enables RemovePodsHavingTooManyRestarts when using Helm by default (it is not currently)
2. Adds RemovePodsHavingTooManyRestarts to the values.yaml for clearer configs
This commit is contained in:
Storm Galloway
2022-09-07 14:10:54 -05:00
committed by Storm Galloway
parent 8a769603a6
commit d14df1fedf

View File

@@ -67,6 +67,12 @@ deschedulerPolicy:
strategies:
RemoveDuplicates:
enabled: true
RemovePodsHavingTooManyRestarts:
enabled: true
params:
podsHavingTooManyRestarts:
podRestartThreshold: 100
includingInitContainers: true
RemovePodsViolatingNodeTaints:
enabled: true
RemovePodsViolatingNodeAffinity: