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

kcc support priority and its allowed selector key list configurations #28

Conversation

luomingmeng
Copy link
Collaborator

What type of PR is this?

Features

What this PR does / why we need it:

To enhance the functionality of KCC (Katalyst Custom Configuration), it is necessary to extend its support for multiple node selector keys instead of just one. This is required because in certain scenarios, the node configuration may be differentiated by multiple labels, such as machine type, sub-cluster, physical space, and other attributes.

By allowing the involvement of multiple keys in the selector, there is a higher likelihood of configuration overlap. To address this, we propose introducing a priority system that enables the overriding of lower priority configurations in specific cases, such as during degradation.

@luomingmeng luomingmeng added the enhancement New feature or request label Aug 3, 2023
@luomingmeng luomingmeng added this to the v0.3 milestone Aug 3, 2023
@luomingmeng luomingmeng self-assigned this Aug 3, 2023
waynepeking348
waynepeking348 previously approved these changes Aug 4, 2023
@luomingmeng luomingmeng added the workflow/need-review review: test succeeded, need to review label Aug 4, 2023
@luomingmeng luomingmeng force-pushed the dev/kcc_support_priority_and_selector_key_list branch 2 times, most recently from cce97b8 to 588be3f Compare August 7, 2023 09:08
waynepeking348
waynepeking348 previously approved these changes Aug 8, 2023
@luomingmeng luomingmeng requested a review from caohe August 8, 2023 02:20
@luomingmeng luomingmeng added workflow/merge-ready merge-ready: code is ready and can be merged and removed workflow/need-review review: test succeeded, need to review labels Aug 8, 2023
@waynepeking348 waynepeking348 merged commit b6675fd into kubewharf:main Aug 8, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request workflow/merge-ready merge-ready: code is ready and can be merged
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants