jenkinsci / jenkinsci/docker-plugin

Balance Load between Clouds

Open
#1,180 1 comment 6 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
498
Forks
324
Avg merge
1d 2h
Merged PRs (30d)
2

Description

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.