From 2b6ba4b47e1f92f83ab00e8480e2469402f3598f Mon Sep 17 00:00:00 2001 From: Avesh Agarwal Date: Fri, 4 Aug 2017 10:28:32 -0400 Subject: [PATCH] Sample rescheduler policy yaml file. --- examples/policy.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/policy.yaml diff --git a/examples/policy.yaml b/examples/policy.yaml new file mode 100644 index 000000000..55793987a --- /dev/null +++ b/examples/policy.yaml @@ -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