-
Notifications
You must be signed in to change notification settings - Fork 451
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
introduce scheduling method Selector #2169
Conversation
New version (see comment above) introducing a better minimal distance strategy |
@danielfoehrKn can you please have a look? |
yepp, I've fixed the protobug generater and added a forked version just for testing. Could you verify that the api server communication still works, then I would open a PR for the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I have to address my comment again since it hasn't been answered: #2169 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for addressing the previous comments. Minor nits now.
@ialidzhikov, I've removed the reference |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@mandelsoft , could you please squash to single commit? Then |
@ialidzhikov, because scripts are always taken from the content branch, there is no way to get them from the meta/ci branch, which would be repository local |
Hmm, how is that preventing squashing to single commit? 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind, I hope we can do squash and merge
while merging.
/lgtm
I hadn't squashed it yet, because of github PR comments in code. |
* introduce scheduling method Selector * improve minimal distance * incorporate change requests without protobuf fix * rework seed useability checks * fix protobuf error * fix build error * incorporate change requests * incorporate change requests * incorporate change requests * some more fixes * more changes
This is a remake #1567
A comprehensive solution seems to be in far distance, therefore here a new try based an the latest enhancements of the scheduler.
What this PR does / why we need it:
The new scheduling method
Selector
allows to make use of the new label selector fieldproviders
to select seeds running on different providers depending of the provider list list and matching labels. It prefers matching seeds if the load is the same.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: