-
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
Should --scale-down-delay-after-add be per-nodepool? #3071
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@therc Did you ever get traction on this or find a workaround / different understanding? |
/reopen |
@rrangith: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen |
@gjtempleton: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
we had a good discussion about this during today's sig meeting, i am curious if we want to preserve the default behavior in any way? i'm not sure that users would want the original behavior, but i would be concerned about breaking people who did expect it. |
I wonder if the reason for blocking scale down if scale up occurs is because of the following assumption:
It seems like we want to break the above assumption and apply it on per node or nodegroups or a group of nodegroups basis instead of applying it to the cluster as a whole. |
If we want to preserve default behaviour, we could make it configurable. For example per nodepool cooldown could be the default, and users could opt out to have the old behaviour. Or we could stick with per nodepool cooldown being the only option, and users could adjust
Correct. Like described by the original issue reporter, if one nodepool is for GPU based instance types and keeps getting scaled up every 5 minutes, the nodepool for CPU-ony instance types should be able to be scaled down. Currently in this situation, the CPU-only instances would stick around indefinitely until the GPU nodepool is down scaling up. A more concrete usecase where this feature would be useful: I have nodepool A with instanceType A, and nodepool B with instanceType B. At first nodepool A has N instances, but we want to migrate all pods to nodepool B which currently has 0 instances. So we cordon all nodes from nodepool A and start migrating the pods 1 by 1 to nodepool B. While this is going on, nodepool B is continually scaling up as each pod migrates 1 by 1. So scaledowns will continually be blocked and will lead to an excess of nodes. If per-nodepool scaledown cooldown is implemented, nodepool A would still be able to scaledown since it has no scaleups. |
some discussion here:#3789 (comment) |
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 |
/remove-lifecycle stale |
/assign vadasambar |
I just saw some nodes getting removed in our cluster after a whole 24m, rather than the expected default of 10m. This was because of two different scale up events that occurred, one before and one after the 10m mark. The autoscaler didn't reuse the empty nodes because, both times, they had no GPUs. This is on AWS, but it should apply everywhere.
So... would it make sense to make the cooldown apply only to each autoscaling group or instance type? I should be able to take down CPU-only instances even if I spawn a new GPU instance every five minutes.
The text was updated successfully, but these errors were encountered: