dongjoon-hyun edited a comment on issue #27364: [SPARK-31394][K8S] Adds support for Kubernetes NFS volume mounts URL: https://github.com/apache/spark/pull/27364#issuecomment-613738176 I verified the AS-IS PR is working . Both `driver` and `worker` nodes successfully mount the nfs directory from the provided NFS container. ``` $ kubectl exec pod/word-count-nfs-65c3af717b1d6715-exec-2 -- df | grep nfs 10.104.110.47:/nfsshare 16954368 2617344 13344768 17% /nfsshare ``` Also, I verified this AS-IS PR with EFS read/write. This PR successfully mounts EFS and works. ``` $ kubectl exec pod/nfs -- cat /efs/README.txt hello $ kubectl exec pod/nfs -- touch /efs/tmp/write.txt $ kubectl exec pod/nfs -- ls /efs/tmp write.txt ``` Now, I agree that this is a convenient way.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
