26 lines
668 B
YAML
26 lines
668 B
YAML
apiVersion: "descheduler/v1alpha2"
|
|
kind: "DeschedulerPolicy"
|
|
profiles:
|
|
- name: ProfileName
|
|
pluginConfig:
|
|
- name: "DefaultEvictor"
|
|
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
|
- name: "RemoveDuplicates"
|
|
- name: "LowNodeUtilization"
|
|
args:
|
|
thresholds:
|
|
"cpu": 30
|
|
"memory": 30
|
|
"pods": 30
|
|
targetThresholds:
|
|
"cpu": 60
|
|
"memory": 60
|
|
"pods": 60
|
|
plugins:
|
|
balance:
|
|
enabled:
|
|
- "LowNodeUtilization"
|
|
- "RemoveDuplicates"
|
|
deschedule:
|
|
enabled:
|
|
- "RemovePodsViolatingInterPodAntiAffinity"
|