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

enhance: Enable prefer node lables in resource group #328

Merged
merged 3 commits into from
Nov 4, 2024

Conversation

weiliu1031
Copy link
Contributor

issue: milvus-io/milvus#36977
add prefer node labels in resource groups, so resource group will prefer to accept some node with given label.

proto/rg.proto Outdated Show resolved Hide resolved
@chyezh
Copy link
Contributor

chyezh commented Oct 23, 2024

/lgtm

add prefer node labels in resource groups, so resource group will prefer
to accept some node with given label.

Signed-off-by: Wei Liu <[email protected]>
Copy link
Collaborator

@congqixia congqixia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node label selector has only key value pairs, which means only equal operator is supported. Do we need operator to support "not equal", "in", "not in", etc?

@weiliu1031
Copy link
Contributor Author

node label selector has only key value pairs, which means only equal operator is supported. Do we need operator to support "not equal", "in", "not in", etc?

resource group only need label set selector for now

Copy link
Collaborator

@congqixia congqixia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, weiliu1031

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 2810a94 into milvus-io:master Nov 4, 2024
4 checks passed
weiliu1031 added a commit to weiliu1031/milvus-proto that referenced this pull request Nov 11, 2024
* enhance: Enable prefer node lables in resource group

add prefer node labels in resource groups, so resource group will prefer
to accept some node with given label.

Signed-off-by: Wei Liu <[email protected]>

* support node label format with key value pair

Signed-off-by: Wei Liu <[email protected]>

* refine node label filter name

Signed-off-by: Wei Liu <[email protected]>

---------

Signed-off-by: Wei Liu <[email protected]>
sre-ci-robot pushed a commit that referenced this pull request Nov 11, 2024
* enhance: Enable prefer node lables in resource group

add prefer node labels in resource groups, so resource group will prefer
to accept some node with given label.



* support node label format with key value pair



* refine node label filter name



---------

Signed-off-by: Wei Liu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants