This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git


The following commit(s) were added to refs/heads/main by this push:
     new 4c6b30c  [SPARK-52774] Fix `resourceRetentionPolicy` typo to 
`resourceRetainPolicy` in docs
4c6b30c is described below

commit 4c6b30cda437dae3f30f93d63ef6d6d651b804dd
Author: Zhou JIANG <jiang...@umich.edu>
AuthorDate: Fri Jul 11 14:12:47 2025 -0700

    [SPARK-52774] Fix `resourceRetentionPolicy` typo to `resourceRetainPolicy` 
in docs
    
    ### What changes were proposed in this pull request?
    
    This fixes typo in docs regarding resourceRetainPolicy
    
    ### Why are the changes needed?
    
    For docs sanity
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    pass CIs
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No
    
    Closes #284 from jiangzho/typofix.
    
    Authored-by: Zhou JIANG <jiang...@umich.edu>
    Signed-off-by: Dongjoon Hyun <dongj...@apache.org>
---
 docs/spark_custom_resources.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/spark_custom_resources.md b/docs/spark_custom_resources.md
index 7bf344f..5378c64 100644
--- a/docs/spark_custom_resources.md
+++ b/docs/spark_custom_resources.md
@@ -289,11 +289,11 @@ On the other hand, when developing an application, it's 
possible to configure
 ```yaml
 applicationTolerations:
   # Acceptable values are 'Always', 'OnFailure', 'Never'
-  resourceRetentionPolicy: OnFailure
+  resourceRetainPolicy: OnFailure
 ```
 
 to avoid operator attempt to delete driver pod and driver resources if app 
fails. Similarly,
-if resourceRetentionPolicy is set to `Always`, operator would not delete 
driver resources
+if resourceRetainPolicy is set to `Always`, operator would not delete driver 
resources
 when app ends. Note that this applies only to operator-created resources 
(driver pod, SparkConf
 configmap .etc). You may also want to tune 
`spark.kubernetes.driver.service.deleteOnTermination`
 and `spark.kubernetes.executor.deleteOnTermination` to control the behavior of 
driver-created


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to