[
https://issues.apache.org/jira/browse/SPARK-24353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16973392#comment-16973392
]
Rafael Felix Correa commented on SPARK-24353:
---------------------------------------------
Hi all,
I gave this problem a shot in my PR
[https://github.com/apache/spark/pull/26505], which implements tolerations it
in a slightly different way than the proposed one due to the key field being
optional (therefore it cannot be used as a unique identifier).
I have a custom build with this patch already working internally here in OLX,
please have a look at the PR if you have time. Hope it helps more people as
well :)
Cheers,
> Add support for pod affinity/anti-affinity
> ------------------------------------------
>
> Key: SPARK-24353
> URL: https://issues.apache.org/jira/browse/SPARK-24353
> Project: Spark
> Issue Type: New Feature
> Components: Kubernetes
> Affects Versions: 2.3.0
> Reporter: Stavros Kontopoulos
> Priority: Major
>
> 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|https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-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|https://docs.google.com/document/d/1izk75I4A0I-nJaE57m7wkpgUZTXM0o6-c0Tb-NxdOMU/edit?usp=sharing]
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]