feat(descheduler): initial setup
All checks were successful
Renovate / renovate (push) Successful in 2m2s

This commit is contained in:
Peter 2024-09-09 14:13:57 +02:00
parent feb8a636ca
commit dc9cde4588
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 33 additions and 0 deletions

View file

@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://github.com/kubernetes-sigs/descheduler/kubernetes/deployment?ref=v0.30.1
- resources/policy.yaml

View file

@ -0,0 +1,27 @@
apiVersion: "descheduler/v1alpha2"
kind: "DeschedulerPolicy"
metadata:
name: DefaultPolicy
profiles:
- name: ProfileName
pluginConfig:
- name: "RemoveDuplicates"
- name: "LowNodeUtilization"
args:
thresholds:
"cpu": 20
"memory": 20
targetThresholds:
"cpu": 50
"memory": 50
- name: "HighNodeUtilization"
args:
thresholds:
"cpu": 70
"memory": 80
plugins:
balance:
enabled:
- "RemoveDuplicates"
- "LowNodeUtilization"
- "HighNodeUtilization"