Drone runner - polling

Hi! I have a question regarding pipeline polling.

Suppose we have 5 drone runners on different machines polling the drone server for pipelines. Each DRONE_RUNNER_CAPACITY set to 2. We start a build with 5 pipelines total with concurrent pipelines enabled and all 5 pipelines can run in parallel.

If I get it correctly (correct me if I’m wrong) a scenario can happen when runner-1 and runner-2 saturates it’s capacity, runner-3 takes 1 pipeline and the 2 remaining runners will stay idle.

Can I somehow achieve a state where all the pipelines gets distributed evenly among the runners?

1 Like