Closed 5nafu closed 6 months ago
This is the PR that added support in Descheduler: https://github.com/kubernetes-sigs/descheduler/pull/1218 We are in the process of cutting a new release (v0.28.1) and that may get included in the new release.
Resolved in v0.28.1
Please let us know if you face any issues
What version of descheduler are you using?
descheduler version: v0.28.0 as deployment
Does this issue reproduce with the latest release?
Yes
Which descheduler CLI options are you using?
Please provide a copy of your descheduler policy config file
What k8s version are you using (
kubectl version
)?kubectl version
OutputWhat did you do? We are running an AWS EKS cluster with karpenter for dynamic node scheduling. When creating a deployment limiting the availability zones being allowed together with
topologySpreadConstraints
, the deployment comes up balanced.Deployment example:
As we are using dynamic node creation via karpenter, we decided not to activate NodeFit, as there will/should never be "spare" capacity and the descheduler would never evict pods.
What did you expect to see? The workload deployment being stable and balanced
What did you see instead? The descheduler is evicting pods on every run even though the workload deployment is balanced. Upping the loglevel does not show any more insights: