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

   ### What changes were proposed in this pull request?
   
   This PR aims to release the Kueue `Workload` of a suspended `SparkCluster` 
even when its `kueue.x-k8s.io/queue-name` label has been removed.
   
   When the label is absent, `403 Forbidden` is ignored because such an 
operator could not have created a `Workload`. `404 Not Found` (no Kueue 
installed) is already a no-op.
   
   ### Why are the changes needed?
   
   If the queue label is removed after admission and the `Workload` informer is 
disabled (the default), `ClusterSuspendStep` skips the deletion. The admitted 
`Workload` then keeps its quota until the `SparkCluster` is deleted.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. This is a bug fix for the unreleased Kueue feature.
   
   ### How was this patch tested?
   
   Pass the CIs with the updated and newly added test cases in 
`ClusterSuspendStepTest`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5.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