[ 
https://issues.apache.org/jira/browse/SPARK-26342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721990#comment-16721990
 ] 

Eric Carlson commented on SPARK-26342:
--------------------------------------

(discussion also applies for flexvolume improvement request)

Hi [~liyinan926] - that's right that pod templates can be used for this, and I 
have that working, but it would be more convenient for users if a separate yaml 
didn't have to be crafted for some options when so much is already available 
via the conf mechanisms. 

I actually already have this code working on a local branch, waiting for 
corporate contributor approval to publish for review - it doesn't really add a 
feature, just adds the nfs (and in a separate branch, flexvolume) types to the 
existing volume config options, which ends up being a fairly small addition to 
a few switch statements. 

Would a change like this be up for consideration, or is there a design decision 
to not add beyond empytdir, pvc, and hostpath?  (I couldn't find design 
docs/discussion)

> Support for NFS mount for Kubernetes
> ------------------------------------
>
>                 Key: SPARK-26342
>                 URL: https://issues.apache.org/jira/browse/SPARK-26342
>             Project: Spark
>          Issue Type: Improvement
>          Components: Kubernetes
>    Affects Versions: 2.4.0
>            Reporter: Eric Carlson
>            Priority: Minor
>
> Currently only hostPath, emptyDir, and PVC volume types are accepted for 
> Kubernetes-deployed drivers and executors.  Possibility to mount NFS paths 
> would allow access to a common and easy-to-deploy shared storage solution.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to