Skip to content
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

Avoid fixing nodegroup size #30

Closed
Tracked by #180
hardikdr opened this issue Mar 3, 2020 · 5 comments · Fixed by #160
Closed
Tracked by #180

Avoid fixing nodegroup size #30

hardikdr opened this issue Mar 3, 2020 · 5 comments · Fixed by #160
Labels
kind/discussion Discussion (enaging others in deciding about multiple options) needs/documentation Needs (more) documentation needs/planning Needs (more) planning with other MCM maintainers needs/update-doc Needs updation of doc/ FAQ so customers are aware of this status/closed Issue is closed (either delivered or triaged)

Comments

@hardikdr
Copy link
Member

hardikdr commented Mar 3, 2020

Issue

Cluster autoscaler currently seems to be trying to fix the node-group size if there is any inconsistency between the number of registered nodes and Machine-objects. CA may do this by reducing the targetSize of node-group, which is disruptive. We should investigate to disable such a feature.

Ref:

Update: It can possibly also scale-down below min, which is even more disruptive.

@hardikdr hardikdr added this to the 0.7.0 milestone Mar 3, 2020
@vlerenc
Copy link
Member

vlerenc commented Mar 3, 2020

Thanks for following up.

@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Jun 17, 2020
@prashanth26 prashanth26 added priority/critical Needs to be resolved soon, because it impacts users negatively kind/discussion Discussion (enaging others in deciding about multiple options) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) important-soon labels Aug 16, 2020
@gardener-robot gardener-robot added the lifecycle/stale Nobody worked on this for 6 months (will further age) label Oct 16, 2020
@gardener-robot gardener-robot added lifecycle/rotten Nobody worked on this for 12 months (final aging stage) and removed lifecycle/stale Nobody worked on this for 6 months (will further age) labels Dec 16, 2020
@prashanth26 prashanth26 removed this from the 0.7.0 milestone Feb 3, 2021
@gardener-robot gardener-robot added priority/2 Priority (lower number equals higher priority) and removed priority/critical Needs to be resolved soon, because it impacts users negatively labels Mar 8, 2021
@himanshu-kun
Copy link

himanshu-kun commented Nov 25, 2022

An issue has been seen currently where this mechanism scales below min.
Although it didn't disrupt anything as it removed long unregistered nodes, the only thing is autoscaler won't try to scale that node grp up to minimum until we have an unschedulable pod requesting that scale-up.
So dashboard would have errors like Not enough worker nodes.
This could be solved by reconciling the shoot because then the worker controller will trigger a scale-up to maintain the minimum.

@gardener-robot
Copy link

@hardikdr, @unmarshall, @shreyas-s-rao, @ashwani2k This issue was referenced by @himanshu-kun in duplicate issue #87.

@himanshu-kun
Copy link

himanshu-kun commented Feb 27, 2023

Post grooming decision

Currently we have commented out the fixNodeGroupSize logic in the PR #160
But we'll need to relook at how clusterAPI is doing it , as commenting core code makes our fork more diverged to the upstream code.

We'll also need to update the FAQ , maybe a section How gardener autoscaler diverges from k8s autoscaler , where we add this change.

@himanshu-kun himanshu-kun added needs/documentation Needs (more) documentation and removed lifecycle/rotten Nobody worked on this for 12 months (final aging stage) priority/2 Priority (lower number equals higher priority) labels Feb 27, 2023
@himanshu-kun himanshu-kun added needs/planning Needs (more) planning with other MCM maintainers needs/update-doc Needs updation of doc/ FAQ so customers are aware of this labels Mar 1, 2023
@himanshu-kun
Copy link

/close solved by #180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/discussion Discussion (enaging others in deciding about multiple options) needs/documentation Needs (more) documentation needs/planning Needs (more) planning with other MCM maintainers needs/update-doc Needs updation of doc/ FAQ so customers are aware of this status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants