fix(descheduler): increase policy thresholds
All checks were successful
Renovate / renovate (push) Successful in 1m46s

This commit is contained in:
Peter 2024-09-09 14:31:15 +02:00
parent aa65996145
commit a92ada7d46
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,26 @@
apiVersion: "descheduler/v1alpha2"
kind: "DeschedulerPolicy"
profiles:
- name: ProfileName
pluginConfig:
- name: "DefaultEvictor"
- name: "RemovePodsViolatingInterPodAntiAffinity"
- name: "RemoveDuplicates"
- name: "LowNodeUtilization"
args:
thresholds:
"cpu": 50
"memory": 50
"pods": 50
targetThresholds:
"cpu": 70
"memory": 70
"pods": 70
plugins:
balance:
enabled:
- "LowNodeUtilization"
- "RemoveDuplicates"
deschedule:
enabled:
- "RemovePodsViolatingInterPodAntiAffinity"

View file

@ -1,5 +1,16 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
namespace: kube-system
resources: resources:
- https://github.com/kubernetes-sigs/descheduler/kubernetes/deployment?ref=v0.30.1 - https://github.com/kubernetes-sigs/descheduler/kubernetes/deployment?ref=v0.30.1
configMapGenerator:
- name: descheduler-policy-configmap
namespace: kube-system
behavior: merge
options:
disableNameSuffixHash: true
files:
- config/policy.yaml