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

v1alpha2 docs (#1049)

* v1alph2 docs

* remove internal toc (gh has this natively)

* fix typo and newlines

* name plugins with less confusing names

* add type column

* fix kv selector and nodeSelector desc

* group plugin types in a table

* link the deprecated doc

* warning signs
This commit is contained in:
Lucas Severo Alves
2023-02-14 03:45:30 +01:00
committed by GitHub
parent 93a014ef5e
commit 463158f7dc
13 changed files with 1330 additions and 404 deletions

View File

@@ -1,14 +1,22 @@
apiVersion: "descheduler/v1alpha1"
apiVersion: "descheduler/v1alpha2"
kind: "DeschedulerPolicy"
strategies:
"RemoveFailedPods":
enabled: true
params:
failedPods:
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "RemoveFailedPods"
args:
reasons:
- "OutOfcpu"
- "CreateContainerConfigError"
includingInitContainers: true
excludeOwnerKinds:
- "Job"
minPodLifetimeSeconds: 3600 # 1 hour
minPodLifetimeSeconds: 3600
plugins:
evict:
enabled:
- "DefaultEvictor"
deschedule:
enabled:
- "RemoveFailedPods"