EOEPCA / proc-ades

Application Deployment and Execution Service (ADES) building block of the Processing & Chaining domain area
https://eoepca.github.io/proc-ades/master
Apache License 2.0
5 stars 5 forks source link

[ADES] POD selector for calrissian spawned pods #22

Closed fabricebrito closed 1 year ago

fabricebrito commented 2 years ago

Current behavior

The ADES relies on Calrissian to execute the application package encoded in CWL. Clarissian spwawns pods during the execution of the CWL steps. Calrissian pod template (https://github.com/Duke-GCB/calrissian/blob/0.10.0/calrissian/job.py#L315) does not allow defining the nodeSelector element and thus spawns pods using all nodes in the cluster.

Desired behavior

Allowing settting the key=value elements of the nodeSelector element would allow selecting the nodes where Calrissian can spawn pods.

Reference: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/

fabricebrito commented 2 years ago

Implemented in https://github.com/Terradue/calrissian/tree/feature/nodeSelector Pending a PR upstream

fabricebrito commented 1 year ago

The PR is done and accepted upstream.