dongjoon-hyun opened a new pull request, #850:
URL: https://github.com/apache/spark-kubernetes-operator/pull/850

   ### What changes were proposed in this pull request?
   
   This PR aims to resolve the node labels and tolerations of the Kueue 
`ResourceFlavor`s assigned to each pod set of an admitted `Workload`.
   
   - Add `KueuePodSetFlavor`, which holds the resolved `nodeSelector` and 
`tolerations` and applies them to a `PodSpec`.
   - Add `KueueWorkloadUtils.resolvePodSetFlavors`, which follows the same 
rules as Kueue v0.19.4 
[`pkg/podset/podset.go`](https://github.com/kubernetes-sigs/kueue/blob/v0.19.4/pkg/podset/podset.go)
 and 
[`pkg/util/tolerations/tolerations.go`](https://github.com/kubernetes-sigs/kueue/blob/v0.19.4/pkg/util/tolerations/tolerations.go).
   
   ### Why are the changes needed?
   
   This PR is a preparation step for injecting the admitted flavors into Spark 
pods, as Kueue built-in integrations do.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. The new code is not called yet.
   
   ### How was this patch tested?
   
   Pass the CIs with the newly added test cases.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to