Skip to content

Limit number of instances per slave #25

@zstyblik

Description

@zstyblik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions