2024-09-09 12:31:15 +00:00
|
|
|
apiVersion: "descheduler/v1alpha2"
|
|
|
|
kind: "DeschedulerPolicy"
|
|
|
|
profiles:
|
|
|
|
- name: ProfileName
|
|
|
|
pluginConfig:
|
|
|
|
- name: "DefaultEvictor"
|
|
|
|
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
|
|
|
- name: "RemoveDuplicates"
|
|
|
|
- name: "LowNodeUtilization"
|
|
|
|
args:
|
|
|
|
thresholds:
|
2024-09-09 12:34:56 +00:00
|
|
|
"cpu": 30
|
|
|
|
"memory": 30
|
|
|
|
"pods": 30
|
2024-09-09 12:31:15 +00:00
|
|
|
targetThresholds:
|
2024-09-09 12:34:56 +00:00
|
|
|
"cpu": 60
|
|
|
|
"memory": 60
|
|
|
|
"pods": 60
|
2024-09-09 12:31:15 +00:00
|
|
|
plugins:
|
|
|
|
balance:
|
|
|
|
enabled:
|
|
|
|
- "LowNodeUtilization"
|
|
|
|
- "RemoveDuplicates"
|
|
|
|
deschedule:
|
|
|
|
enabled:
|
|
|
|
- "RemovePodsViolatingInterPodAntiAffinity"
|