Skip to content

Commit c4165eb

Browse files
authored
fix(api): Regenerate TrainJob CRD (#2805)
Signed-off-by: Antonin Stefanutti <antonin@stefanutti.fr>
1 parent a728b3f commit c4165eb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

charts/kubeflow-trainer/crds/trainer.kubeflow.org_trainjobs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,8 +1033,8 @@ spec:
10331033
most preferred is the one with the greatest sum of weights, i.e.
10341034
for each node that meets all of the scheduling requirements (resource
10351035
request, requiredDuringScheduling anti-affinity expressions, etc.),
1036-
compute a sum by iterating through the elements of this field and adding
1037-
"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
1036+
compute a sum by iterating through the elements of this field and subtracting
1037+
"weight" from the sum if the node has pods which matches the corresponding podAffinityTerm; the
10381038
node(s) with the highest sum are the most preferred.
10391039
items:
10401040
description: The weights of all of the matched WeightedPodAffinityTerm

manifests/base/crds/trainer.kubeflow.org_trainjobs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,8 +1033,8 @@ spec:
10331033
most preferred is the one with the greatest sum of weights, i.e.
10341034
for each node that meets all of the scheduling requirements (resource
10351035
request, requiredDuringScheduling anti-affinity expressions, etc.),
1036-
compute a sum by iterating through the elements of this field and adding
1037-
"weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the
1036+
compute a sum by iterating through the elements of this field and subtracting
1037+
"weight" from the sum if the node has pods which matches the corresponding podAffinityTerm; the
10381038
node(s) with the highest sum are the most preferred.
10391039
items:
10401040
description: The weights of all of the matched WeightedPodAffinityTerm

0 commit comments

Comments
 (0)