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

Provide option to balance label based on the given labels #3615

Closed
tsunny opened this issue Oct 15, 2020 · 14 comments
Closed

Provide option to balance label based on the given labels #3615

tsunny opened this issue Oct 15, 2020 · 14 comments
Assignees
Labels
area/cluster-autoscaler good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@tsunny
Copy link

tsunny commented Oct 15, 2020

It would be nice to have a flag that could be passed to the autoscaler to chose the flags to compare the nodes if they are same.

This request would be the opposite of https://github.com/kubernetes/autoscaler/pull/2493.

At the moment, in our project we are passing a lot of labels to this flag to be ignored. This can be simplified by passing in the opt-in labels vs exclude labels using a different flag say, --balancing-node-labels

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 13, 2021
@grosser
Copy link
Contributor

grosser commented Jan 13, 2021

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 13, 2021
@MaciekPytel
Copy link
Contributor

If anyone wants to give this a go, I think it could be implemented fairly easily as a new comparator for BalancingNodeGroupSetProcessor.

@MaciekPytel MaciekPytel added the good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. label Jan 13, 2021
@rtnpro
Copy link

rtnpro commented Jan 13, 2021

I have started working to implement this feature.

@BLasan
Copy link

BLasan commented Oct 10, 2021

@jbartosik Is this still valid? If so I would like to assign my self for this issue

@BLasan
Copy link

BLasan commented Oct 10, 2021

/assign

@rtnpro
Copy link

rtnpro commented Oct 10, 2021 via email

@BLasan
Copy link

BLasan commented Oct 10, 2021

+1 Go ahead.
On Sun, 10 Oct 2021 at 10:50 AM, Benura Abeywardena < @.***> wrote: @jbartosik https://github.com/jbartosik Is this still valid? If so I would like to assign my self for this issue — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#3615 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABYSBF3WOS45VDC24F2AUTUGEPAZANCNFSM4SRQTALQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Ratnadeep Debnath, https://www.waartaa.com GPG Fingerprint: A937 6DB0 91A2 3809 27B2 1C85 8145 B6DD 3CE6 14AC

Can you elaborate this feature a bit more? I'm new to this project

@Ab-hishek
Copy link

@BLasan If this is not being worked upon, I would like to give it a shot.

@Ab-hishek
Copy link

/assign

@grosser
Copy link
Contributor

grosser commented Aug 4, 2022

this is done and should be closed

@Shubham82
Copy link
Contributor

closing this as this is done in the PR #4174

@Shubham82
Copy link
Contributor

/close

@k8s-ci-robot
Copy link
Contributor

@Shubham82: Closing this issue.

In response to this:

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster-autoscaler good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants