From 514ecf88cf4cf23b65c1738e8cacd0f402e8d478 Mon Sep 17 00:00:00 2001 From: Avesh Agarwal Date: Tue, 15 Aug 2017 12:10:56 -0400 Subject: [PATCH] Update example policy file. --- examples/policy.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/examples/policy.yaml b/examples/policy.yaml index 24e78b595..e0f2b5582 100644 --- a/examples/policy.yaml +++ b/examples/policy.yaml @@ -1,4 +1,16 @@ apiVersion: "rescheduler/v1alpha1" kind: "ReschedulerPolicy" strategies: - "test": + "LowNodeUtilization": + enabled: true + weight: 1 + params: + nodeResourceUtilizationThresholds: + thresholds: + "cpu" : 20 + "memory": 20 + "pods": 20 + targetThresholds: + "cpu" : 50 + "memory": 50 + "pods": 50