feat(descheduler): initial setup
All checks were successful
Renovate / renovate (push) Successful in 2m2s
All checks were successful
Renovate / renovate (push) Successful in 2m2s
This commit is contained in:
parent
feb8a636ca
commit
dc9cde4588
2 changed files with 33 additions and 0 deletions
6
descheduler/kustomization.yaml
Normal file
6
descheduler/kustomization.yaml
Normal 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
|
27
descheduler/resources/policy.yaml
Normal file
27
descheduler/resources/policy.yaml
Normal 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"
|
Loading…
Reference in a new issue