-
Notifications
You must be signed in to change notification settings - Fork 4k
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
cluster-autoscaler : KubeSchedulerConfiguration plugin configuration PodTopologySpread #3879
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
This is expected behavior. CA only uses Filtering part in the simulations (
While
As long as |
@vadasambar
Can you elaborate on this one, please? |
@jdomag I recently wrote a blogpost on this (maybe this should be part of the docs) which might answer your question. Quoting the relevant part here:
https://vadasambar.com/post/kubernetes/would-ca-consider-my-soft-constraints/ |
@vadasambar |
I will try proposing adding it to the docs in the upcoming SIG (and thank you :)) |
This hit us by surprise as well. In my opinion there should be a big red warning in the kubernetes docs: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/#cluster-level-default-constraints. Currently, this looks like a stable feature but it can cripple your application if you are unlucky. We added a PR to warn future users. |
Which component are you using?:
component: cluster-autoscaler
Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:
Scheduler now supports PodTopologySpread - Cluster-level default constraints from kubernetes release 1.18 - commit.
1. PodTopologySpread -
defaultConstraints
at the cluster level: Cluster-autoscaler does not consider PodTopologySpreaddefaultConstraints
at the cluster level.Pods remain unscheduled. You get the error.
Note: Pod specs do not have
topologySpreadConstraints
in this case.2. PodTopologySpread when set at deployment: works since pod spec starts having topologySpreadConstraints.
Describe the solution you'd like.:
Cluster-autoscaler consider PodTopologySpread - Cluster-level default constraints during attempts to schedule pods
Describe any alternative solutions you've considered.:
Additional context.:
The text was updated successfully, but these errors were encountered: