mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-26 05:14:13 +01:00
32 lines
799 B
YAML
32 lines
799 B
YAML
---
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: descheduler-policy-configmap
|
|
namespace: kube-system
|
|
data:
|
|
policy.yaml: |
|
|
apiVersion: "descheduler/v1alpha2"
|
|
kind: "DeschedulerPolicy"
|
|
profiles:
|
|
- name: ProfileName
|
|
pluginConfig:
|
|
- name: "DefaultEvictor"
|
|
- name: "RemovePodsViolatingInterPodAntiAffinity"
|
|
- name: "LowNodeUtilization"
|
|
args:
|
|
thresholds:
|
|
"cpu" : 20
|
|
"memory": 20
|
|
"pods": 20
|
|
targetThresholds:
|
|
"cpu" : 50
|
|
"memory": 50
|
|
"pods": 50
|
|
plugins:
|
|
balance:
|
|
enabled:
|
|
- "LowNodeUtilization"
|
|
- "RemovePodsViolatingInterPodAntiAffinity"
|
|
- "RemoveDuplicates
|