Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-35702

Kubernetes: Allow different namespaces for Driver and Executors

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2
    • Fix Version/s: None
    • Component/s: Kubernetes
    • Labels:
      None

      Description

      Currently the Kubernetes namespace of driver AND executors always needs to be identical - specified with spark.kubernetes.namespace.
      Especially when developing in Kubernetes, this is a harsh restriction: In a notebook Namespace I want to run spark in driver in client mode for interaction, however executors should get their own dedicated resources in a dedicated namespace with different policies and different lifecycles.

      This could be solved by adding the following two additional configuration options:

       spark.kubernetes.executor.pod.namespace
       spark.kubernetes.driver.pod.namespace
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cth Christian Thiel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: