Skip to content

Commit 7983bba

Browse files
committed
extend PodSets() to compute TopologyRequest
1 parent bf08501 commit 7983bba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

internal/controller/workload/workload_controller.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ func (aw *AppWrapper) PodSets() []kueue.PodSet {
7777
// Kueue will raise an error on zero length PodSet; the Kueue GenericJob API prevents propagating the actual error.
7878
return []kueue.PodSet{}
7979
}
80+
for psIndex := range podSets {
81+
podSets[psIndex].TopologyRequest = jobframework.PodSetTopologyRequest(&podSets[psIndex].Template.ObjectMeta, nil, nil, nil)
82+
}
83+
8084
return podSets
8185
}
8286

0 commit comments

Comments
 (0)