-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
k8s nodeSelector #955
Comments
This is very interesting and matches with a similar request other schedulers #911. I think we could introduce a |
This commit adds the ability to specify a K8s podSelector in the pod directive.
The above commit adds the ability to specify the node selector in the
(fixed the wrong syntax |
Included in version |
Just an update for others seeing this issue, the syntax
is incorrect. The correct syntax is:
Refer to https://www.nextflow.io/docs/latest/process.html#pod |
New feature
Currently Nextflow does not provide a way to specify nodes within a cluster to run jobs on. Like with other executors it would be beneficial to be able to tailor task execution to specific nodes with potentially varied hardware.
This is related to some aspects of #785
Usage scenario
Running Nextflow on a heterogeneous cluster and having a process that requires a high memory. Specify in the
process
directives either in the main Nextflow script or in the config which nodes can handle this within a k8s cluster.Suggest implementation
Add a
nodeSelector
option to thepod
directive scope.nodeSelector docs: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
or alternatively make an independent directive for nodeSelector
An example pod definition with the
nodeSelector
The text was updated successfully, but these errors were encountered: