Closed EinavDanielDX closed 1 year ago
How embarrassing, I figured I set "Pods", with a capital "P", instead of "pods".. pods are being ignored now.
@EinavDanielDX glad you figured out the problem, maybe we could do something to catch or prevent case errors like this
What version of descheduler are you using?
descheduler version: 0.27.1
Please provide a copy of your deschedulerpolicy config file Using descheduler helm chart with the following settings
What k8s version are you using (
kubectl version
)? v1.24.14-eksWhat did you do? I'm trying to configure descheduler to rebalance my nodegroup according to memory and CPU only. I couldn't find a way to ignore the "pods" criteria. As a workaround I tried to set "threshold.pods=85" as and "targetThresholds.pods=95" and I get the following logs:
The logs are indicating the descheduler is not working properly, since according to my settings, node "ip-X-Y-Z-163" should be underutilized. Also, the logs prints "Pods" Criteria twice
"Criteria for a node above target utilization" CPU=65 Mem=65 Pods=50 Pods=95
.I would like to understand what is Pods Criteria, since I could not find a reference in the docs. How does the percentage being calculated? How can I ignore this Criteria? Why is it being printed twice in the log?