fix(descheduler): increase policy thresholds
All checks were successful
Renovate / renovate (push) Successful in 1m46s
All checks were successful
Renovate / renovate (push) Successful in 1m46s
This commit is contained in:
parent
aa65996145
commit
a92ada7d46
2 changed files with 37 additions and 0 deletions
26
descheduler/config/policy.yaml
Normal file
26
descheduler/config/policy.yaml
Normal 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"
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue