Hello,
I'm not sure whether it's possible, ideally in nomad itself, but it'd be great if one could limit maximum number of instances for one particular slave node. Maybe this request is simply ... out of your mind ... in nomad world. I know there are resource constrains, but:
- resources aren't unlimited
- jobs have different requirements
- jobs have variable number of instances, eg. "batch job" V. CI
- I'm worried eg. CI could take all resources and there won't be any left
To solve this in the code, one would have to query nomad/jenkins, I guess, and find out how many slaves with label X are already up and then ... I don't know. I'll try to give a look how docker plugin does it.
Thank you.
EDIT: I presume resource allocations/constrains are per slave instance, not for all, group of, instances of particular slave.
Hello,
I'm not sure whether it's possible, ideally in nomad itself, but it'd be great if one could limit maximum number of instances for one particular slave node. Maybe this request is simply ... out of your mind ... in nomad world. I know there are resource constrains, but:
To solve this in the code, one would have to query nomad/jenkins, I guess, and find out how many slaves with label X are already up and then ... I don't know. I'll try to give a look how docker plugin does it.
Thank you.
EDIT: I presume resource allocations/constrains are per slave instance, not for all, group of, instances of particular slave.