Skip to content

Commit

Permalink
support node label format with key value pair
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <[email protected]>
  • Loading branch information
weiliu1031 committed Oct 21, 2024
1 parent 4145fbf commit 6ef46f9
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 54 deletions.
112 changes: 59 additions & 53 deletions go-api/rgpb/rg.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion proto/rg.proto
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ option java_generate_equals_and_hash = true;

option csharp_namespace = "Milvus.Client.Grpc";

import "common.proto";

message ResourceGroupLimit {
int32 node_num = 1;
// preserve for other limit.
Expand All @@ -21,7 +23,7 @@ message ResourceGroupTransfer {
}

message ResourceGroupNodeFilter {
repeated string prefer_node_labels = 1; // node in resource group must match node labels requirements
repeated common.KeyValuePair prefer_node_labels = 1; // node in resource group must match node labels requirements
}

message ResourceGroupConfig {
Expand Down

0 comments on commit 6ef46f9

Please sign in to comment.