mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 14:41:10 +01:00
Sample rescheduler policy yaml file.
This commit is contained in:
16
examples/policy.yaml
Normal file
16
examples/policy.yaml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
apiVersion: "v1alpha1"
|
||||||
|
kind: "ReschedulerPolicy"
|
||||||
|
strategies:
|
||||||
|
"LowNodeUtilization":
|
||||||
|
enabled: true
|
||||||
|
weight: 1
|
||||||
|
params:
|
||||||
|
nodeResourceUtilizationThresholds:
|
||||||
|
thresholds:
|
||||||
|
"cpu" : 10
|
||||||
|
"memory": 50
|
||||||
|
"pods": 50
|
||||||
|
targetThresholds:
|
||||||
|
"cpu" : 10
|
||||||
|
"memory": 50
|
||||||
|
"pods": 50
|
||||||
Reference in New Issue
Block a user