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

Introduce spark on k8s config for driver request cores

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • Kubernetes, Spark Core
    • None

    Description

      Spark on k8s supports config for specifying the executor cpu requests
      (spark.kubernetes.executor.request.cores) but a similar config is missing
      for the driver. Instead, currently spark.driver.cores value is used for integer value.

      Although pod spec can have cpu for the fine-grained control like the following, this PR proposes additional configuration spark.kubernetes.driver.request.cores for driver request cores.

      resources:
        requests:
          memory: "64Mi"
          cpu: "250m"
      

      Attachments

        Issue Links

          Activity

            People

              arunmahadevan Arun Mahadevan
              arunmahadevan Arun Mahadevan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: