You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are many scenarios where one would like to ensure that a particular node only receives either a certain job(s) or task group(s). As I see it, there is no way of restricting nodes to particular job(s) or task group(s) without introducing constraints in some way on job definitions themselves (e.g. using meta or node_class). There are workarounds, for example restricting those jobs to use different drivers that are only used for those jobs, but that's more of a hacky workaround that will only work for certain cases.
It'd be great if the client stanza had some mechanism to whitelist certain jobs or task groups - be it by a constraint stanza, requiring certain meta fields, or even just a whitelist of job or task group names.
The text was updated successfully, but these errors were encountered:
One way I've done this is to have those clients in a different datacenter (but still joined to the same set of servers). Because datacenter is already a required field in the jobspec, it gives you a very coarse-grained control.
There are many scenarios where one would like to ensure that a particular node only receives either a certain job(s) or task group(s). As I see it, there is no way of restricting nodes to particular job(s) or task group(s) without introducing constraints in some way on job definitions themselves (e.g. using
meta
ornode_class
). There are workarounds, for example restricting those jobs to use different drivers that are only used for those jobs, but that's more of a hacky workaround that will only work for certain cases.It'd be great if the
client
stanza had some mechanism to whitelist certain jobs or task groups - be it by aconstraint
stanza, requiring certainmeta
fields, or even just a whitelist of job or task group names.The text was updated successfully, but these errors were encountered: