Specifying default nodeSelector and toleration for k8s.pod directive #4734
Replies: 3 comments 2 replies
-
Looks right to me, but another way you can try is to put it in the process {
pod = [
// ...
]
} |
Beta Was this translation helpful? Give feedback.
2 replies
-
This is the related PR #2763 that introduced this feature |
Beta Was this translation helpful? Give feedback.
0 replies
-
So this works by using a list of 2 maps, one for each of nodeSelector and toleration.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I see that when using k8s as an executor. I would like to set up default pod nodeSelector and toleration using a config file specified through -c option in the command line when calling nextflow run. Here is the k8s scoped configuration
However, it seems nextflow cannot pick up this configuration. The same configuration works if defined inside a process such as the following
I would like to know whether there is an error in my configuration or this is an expected behaviour. I am using the latest nextflow verion
23.10.1.5891
Beta Was this translation helpful? Give feedback.
All reactions