GitHub user NiharS opened a pull request: https://github.com/apache/spark/pull/23026
[SPARK-25960][k8s] Support subpath mounting with Kubernetes ## What changes were proposed in this pull request? This PR adds configurations to use subpaths with Spark on k8s. Subpaths (https://kubernetes.io/docs/concepts/storage/volumes/#using-subpath) allow the user to specify a path within a volume to use instead of the volume's root. ## How was this patch tested? Added unit tests. Ran SparkPi on a cluster with event logging pointed at a subpath-mount and verified the driver host created and used the subpath. You can merge this pull request into a Git repository by running: $ git pull https://github.com/NiharS/spark k8s_subpath Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23026.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #23026 ---- commit e820aa6feefedb2d59d346e83385605b0f4fe1b4 Author: Nihar Sheth <niharrsheth@...> Date: 2018-11-13T21:25:47Z subpath code and tests ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org