You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/12/30 07:43:00 UTC

[jira] [Assigned] (SPARK-41781) Add the ability to create pvc before creating driver/executor pod

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

Apache Spark reassigned SPARK-41781:
------------------------------------

    Assignee:     (was: Apache Spark)

> Add the ability to create pvc before creating driver/executor pod
> -----------------------------------------------------------------
>
>                 Key: SPARK-41781
>                 URL: https://issues.apache.org/jira/browse/SPARK-41781
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 3.3.0
>            Reporter: Qian Sun
>            Priority: Major
>
> Creating pvc after driver/executor pod has Warning event from default-scheduler, such as
> {code:java}
> error getting PVC "spark/application-exec-1-pvc-0": could not find v1.PersistentVolumeClaim "spark/application-exec-1-pvc-0" {code}
> Normal k8s workflow is to create PVC first and schedule pod to mount PVC.
>  
> We have a scenes that webhook server will try to reschedule pod and pvc to another pod. Because pvc creation after pod, wehbook couldn't find pvc based on pod metadata.



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

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