[ 
https://issues.apache.org/jira/browse/SPARK-52173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongjoon Hyun reassigned SPARK-52173:
-------------------------------------

    Assignee: Zhou JIANG

> Fix OwnerReference Patching for Spark Application Driver Resources
> ------------------------------------------------------------------
>
>                 Key: SPARK-52173
>                 URL: https://issues.apache.org/jira/browse/SPARK-52173
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Kubernetes
>    Affects Versions: kubernetes-operator-0.2.0
>            Reporter: Zhou JIANG
>            Assignee: Zhou JIANG
>            Priority: Major
>              Labels: pull-request-available
>
> At initialization phase, operator would request pre-resources for driver 
> first, then apply the owner references on these resources with created driver 
> pod uid.
>  
> The latter patching is currently failing as it's decorating on created 
> resource (which have managed fields set). 
>  
> ```
> Message: metadata.managedFields must be nil.
> ```
>  
> > ... when using the {{Apply}} operation you cannot define {{managedFields}} 
> > in the body of the request that you submit.
>  
> [https://kubernetes.io/docs/reference/using-api/server-side-apply/]
>  
> The patch body shall not include generated `managedFields` 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to