Skip to content

Balance Load between Clouds #1180

@dodgex

Description

@dodgex

What feature do you want to see added?

We have our Jenkins setup with two Docker Clouds, both provide the same set of container via labels and our jobs ar tied all tied to labels e.g. "maven-jdk21" for builds to start with an agent image designed for jdk21 maven builds or "ansible" for agents designed ansible stuff.

We have two clouds to balance the load between worker servers, but now it seems that almost all jobs are scheduled on the first cloud and close to none go to the second (i assume only when container limits per label are hit).

Is there a way to better balance the builds between the cloud instances (other than providing only label x on one and label y on the other)?
All I have found so far is related to balancing/limiting per Node, but as each Container is a single node, I doubt that this would work as every "node" is used just once anyway.

Upstream changes

No response

Are you interested in contributing this feature?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions