mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 13:29:11 +01:00
16 lines
377 B
YAML
16 lines
377 B
YAML
apiVersion: "descheduler/v1alpha2"
|
|
kind: "DeschedulerPolicy"
|
|
profiles:
|
|
- name: ProfileName
|
|
pluginConfig:
|
|
- name: "RemovePodsHavingTooManyRestarts"
|
|
args:
|
|
podRestartThreshold: 100
|
|
includingInitContainers: true
|
|
states:
|
|
- CrashLoopBackOff
|
|
plugins:
|
|
deschedule:
|
|
enabled:
|
|
- "RemovePodsHavingTooManyRestarts"
|