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

   ### What changes were proposed in this pull request?
   
   This PR aims to support K8s events for Kueue admission of `SparkApplication` 
and `SparkCluster`.
   
   | Type | Reason | When |
   |---|---|---|
   | `Normal` | `KueueAdmissionPending` | A new `Workload` is created and waits 
for the admission |
   | `Normal` | `KueueAdmitted` | Kueue admitted the `Workload` |
   | `Warning` | `KueueAdmissionRequestFailed` | The admission request fails, 
except for transport-level errors |
   
   To avoid extra API calls on every requeue, `KueueAdmissionPending` is 
published once per `Workload` via a new `AdmissionResult.QUEUED`.
   
   ### Why are the changes needed?
   
   A resource waiting for Kueue admission has no state transition, so users 
cannot see why it is stuck via `kubectl describe`.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. When `spark.kubernetes.operator.events.enabled` is `true`, the new 
events are published for resources labeled with `kueue.x-k8s.io/queue-name`.
   
   ### 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