Duke-GCB / calrissian

CWL on Kubernetes
https://duke-gcb.github.io/calrissian/
MIT License
42 stars 16 forks source link

nodeSelector for pods spawned by calrissian #126

Closed fabricebrito closed 1 year ago

fabricebrito commented 2 years ago

Current behavior

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/

emmanuelmathot commented 1 year ago

fixed with PR#129