dongjoon-hyun commented on code in PR #951:
URL: 
https://github.com/apache/spark-kubernetes-operator/pull/951#discussion_r4210478111


##########
spark-operator/src/main/java/org/apache/spark/k8s/operator/kueue/KueuePodSetFlavor.java:
##########
@@ -25,27 +25,68 @@
 import java.util.Map;
 import java.util.Objects;
 
+import io.fabric8.kubernetes.api.model.ObjectMetaBuilder;
 import io.fabric8.kubernetes.api.model.PodSpec;
+import io.fabric8.kubernetes.api.model.PodTemplateSpec;
 import io.fabric8.kubernetes.api.model.Toleration;
 
 /**
- * The node selector and tolerations of the ResourceFlavors which Kueue 
assigned to a pod set.
+ * The node selector, tolerations, labels and annotations which Kueue assigned 
to a pod set: the
+ * ones of its ResourceFlavors and of the podSetUpdates of the admission 
checks of its Workload.
  * Like Kueue built-in integrations, they are applied to the pods of the pod 
set.
  *
- * @param nodeSelector The merged `nodeLabels` of the ResourceFlavors.
- * @param tolerations The merged `tolerations` of the ResourceFlavors.
+ * @param nodeSelector The merged `nodeLabels` of the ResourceFlavors and 
`nodeSelector` of the
+ *     podSetUpdates.
+ * @param tolerations The merged `tolerations` of the ResourceFlavors and the 
podSetUpdates.
+ * @param labels The merged `labels` of the podSetUpdates.
+ * @param annotations The merged `annotations` of the podSetUpdates.
  */
-public record KueuePodSetFlavor(Map<String, String> nodeSelector, 
List<Toleration> tolerations) {
+public record KueuePodSetFlavor(

Review Comment:
   Thank you, @peter-toth. I renamed it to `KueuePodSetInfo` in this PR, along 
with the members which hold or produce it, e.g. `setKueuePodSetInfos` and 
`resolvePodSetInfos`.



-- 
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