Skip to content

Commit

Permalink
chore(kfp-kubernetes): change type of affinity weight to int32 (#10671)
Browse files Browse the repository at this point in the history
Signed-off-by: Cornelis Boon <cjidboon94@gmail.com>
  • Loading branch information
cjidboon94 authored Apr 12, 2024
1 parent 00894ca commit 78ace3c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.

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

4 changes: 2 additions & 2 deletions kubernetes_platform/proto/kubernetes_executor_config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ message NodeAffinityTerm {
repeated SelectorRequirement match_expressions = 1;
repeated SelectorRequirement match_fields = 2;
//Setting the weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
optional int64 weight = 3;
optional int32 weight = 3;
}


Expand All @@ -224,7 +224,7 @@ message PodAffinityTerm {
repeated SelectorRequirement match_namespace_expressions = 5;
map<string,string> match_namespace_labels = 6;
//Setting a weight makes it use PreferredDuringSchedulingIgnoredDuringExecution rules instead of RequiredDuringSchedulingIgnoredDuringExecution rules
optional int64 weight = 7;
optional int32 weight = 7;
//Flag indicating if it is a podaffinity or podantiaffinity
optional bool anti = 8;
}

0 comments on commit 78ace3c

Please sign in to comment.