Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-49524 Improve K8s support
  3. SPARK-49731

Support K8s volume `mount.subPathExpr` and `hostPath` volume `type`

    XMLWordPrintableJSON

Details

    Description

      Spark on K8S supports mounting volumes to driver and executor pods. It supports the subPath but not the subPathExpr K8S option, which allows using environment variables for the subPath. Further, hostPath volumes are always mounted as default type "". Providing a different hostPath volume type allows for more flexibility.

      Add the following configuration options:

      • spark.kubernetes.executor.volumes.[VolumeType].[VolumeName].mount.subPathExpr
      • spark.kubernetes.executor.volumes.hostPath.[VolumeName].options.type

      Attachments

        Issue Links

          Activity

            People

              enricomi Enrico Minack
              enricomi Enrico Minack
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: