-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RemovePodsViolatingTopologySpreadConstraint does not work for cluster-level default constraints #1502
Comments
Hi, this is working as intended. The descheduler does not know about cluster-level default constraints because it does not have access to the cluster's KubeSchedulerConfiguration. |
/remove-kind bug |
Thanks for the reply. |
Yes, exactly. This has been discussed before if you'd like some more info: #609 Essentially the KubeSchedulerConfiguration isn't an actual API object, it's just mounted to the scheduler pod. Users can also deploy custom or multiple schedulers so there isn't a good way to automatically know which default to go with. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
What version of descheduler are you using?
descheduler version: 0.30.1
Does this issue reproduce with the latest release?
yes
Which descheduler CLI options are you using?
I installed the helm chart as-is with the values described below.
Please provide a copy of your descheduler policy config file
What k8s version are you using (
kubectl version
)?kubectl version
v1.28.11What did you do?
I defined a default topology spread constraint for the cluster, as described here: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#cluster-level-default-constraints
I then:
What did you expect to see?
Descheduler kicks in to enforce the default pod topology constraint
What did you see instead?
Descheduler does nothing.
In the logs:
The text was updated successfully, but these errors were encountered: