Created
March 16, 2020 00:06
-
-
Save abhioncbr/1f34b63d1f0ebeed81a587531f15fb3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: descheduler-policy-configmap | |
namespace: kube-system | |
data: | |
policy.yaml: | | |
apiVersion: "descheduler/v1alpha1" | |
kind: "DeschedulerPolicy" | |
strategies: | |
"RemoveDuplicates": | |
enabled: true | |
"RemovePodsViolatingInterPodAntiAffinity": | |
enabled: true | |
"LowNodeUtilization": | |
enabled: true | |
params: | |
nodeResourceUtilizationThresholds: | |
thresholds: | |
"cpu" : 20 | |
"memory": 20 | |
"pods": 20 | |
targetThresholds: | |
"cpu" : 50 | |
"memory": 50 | |
"pods": 50 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment