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`

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment