docker-plugin icon indicating copy to clipboard operation
docker-plugin copied to clipboard

Balance Load between Clouds

Open dodgex opened this issue 1 month ago • 0 comments

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

dodgex avatar Nov 20 '25 07:11 dodgex