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

Introduce spark on k8s config for driver request cores

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: Kubernetes, Spark Core
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: