jiangzho opened a new pull request, #268:
URL: https://github.com/apache/spark-kubernetes-operator/pull/268

   ### What changes were proposed in this pull request?
   
   This PR adds support for configuring the maximal retain duration for Spark 
apps. Working with the resourceRetainPolicy, it enhances the garbage collection 
mechanism.
   
   ### Why are the changes needed?
   
   Current resourceRetainPolicy provides flexibility for retain Spark app 
resources after its terminated. Introducing maximal retain duration would add 
one protection layer to avoid terminated resources (pods, config maps .etc) 
from taking quota in cluster.
   
   ### Does this PR introduce _any_ user-facing change?
   
   New configurable field 
`spec.applicationTolerations.resourceRetainDurationMillis` added to 
SparkApplication CRD
   
   ### How was this patch tested?
   
   CIs - including new unit test and e2e scenario
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No
   
   


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