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

fix sorting behavior in selector.go #38

Draft
wants to merge 1 commit into
base: release-1.10-dd
Choose a base branch
from

Conversation

dbenque
Copy link

@dbenque dbenque commented May 19, 2021

In some case the scheduler does not honor the list of values passed in the MatchSelectorTerms.
Here are some example in logs

This PR is taking the upstream patch kubernetes#66480

- move sorting from NewRequirement() out to String()
- add related unit tests
- add unit tests in one of outer callers (pkg/apis/core/v1/helper)

Closes kubernetes#66298
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants