nextflow-io / nf-nomad

Hashicorp Nomad executor plugin for Nextflow
https://nextflow-io.github.io/nf-nomad/
Apache License 2.0
2 stars 2 forks source link

add affinity spec configuration #37

Closed jagedn closed 4 weeks ago

jagedn commented 1 month ago

I've created a new affinity configuration and tested against a local nomad

imagen

matthdsm commented 4 weeks ago

@jhaezebr, can you give this a once over?

jhaezebr commented 4 weeks ago

Can I ask what this will be used for? Because there is a difference between affinity and constraint, and the use cases I'm thinking of (cpu/gpu) fit more to constraint than to affinity to me?

jagedn commented 4 weeks ago

Can I ask what this will be used for? Because there is a difference between affinity and constraint, and the use cases I'm thinking of (cpu/gpu) fit more to constraint than to affinity to me?

I'm following pending tasks created in this issue https://github.com/nextflow-io/nf-nomad/issues/5

next will be to add constraint configuration