• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.190.2

      I have two agents under a common label that I want to load balance using scoring by node loads. However, they are both on-demand agents.  I have noticed that the load balancer will not consider a agent that is offline but can be brought online upon demand.   My expectation was that the load balancer would bring an agent online if it was determined that it had a better score (offline agent would be completely unloaded).  Perhaps this is a limitation in jenkins itself.

       

      After a night of running, the first agent was taking multiple jobs while the second agent was offline the entire time.  If I manually bring up the second agent, it will start taking jobs via the balancer.

          [JENKINS-62356] Launch on-demand agents with higher score

          ikedam added a comment -

          It’s not a bug as node-provisioning are performed by another component in Jenkins (NodeProvisioner. scoring-loadbalancer works in LoadBalancer).
          So this is a feature request rather than a bug report.

          ikedam added a comment - It’s not a bug as node-provisioning are performed by another component in Jenkins (NodeProvisioner. scoring-loadbalancer works in LoadBalancer). So this is a feature request rather than a bug report.

          ikedam added a comment -

          I gave up maintaining this plugin and now out for adoption.

          ikedam added a comment - I gave up maintaining this plugin and now out for adoption.

            Unassigned Unassigned
            ajbarber Andrew Barber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: