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

Add support for pod affinity/anti-affinity

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 2.3.0
    • None
    • Kubernetes, Spark Core
    • None

    Description

      Spark on K8s allows to place driver/executor pods on specific k8s nodes, using nodeSelector. NodeSelector is a very simple way to constrain pods to nodes with particular labels. The affinity/anti-affinity feature, currently in beta, greatly expands the types of constraints you can express. Aim here is to bring support of this feature to Spark on K8s, in detail:

      • Node affinity
      • Toleration/taints
      • Inter-Pod affinity/anti-affinity

      Note that nodeSelector will be deprecated in the future.

      Design doc: https://docs.google.com/document/d/1izk75I4A0I-nJaE57m7wkpgUZTXM0o6-c0Tb-NxdOMU

       

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skonto Stavros Kontopoulos
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: