Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25106

Minimum number of slaves for cloud

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • ec2-plugin
    • None

    Description

      I was talking to an user, and he said he likes EC2 plugin except he wants to be able to maintain minimum number of slaves always on, so that he won't take the hit of provisioning a new slave.

      EC2 plugin already allows manual provisioning of an instance, so this seems doable. It would launch new instances automatically if the current count is less than minimum. Retention strategy needs to also change so that slaves don't go away below the minimum count.

      The part that I'm not sure about is if this can be done below EC2 plugin, so that the logic can be reused by other cloud-like plugins.

      Attachments

        Activity

          pancernik Rafal Wicha added a comment - - edited

          Hi.

          Are you planning to implement this feature? The lack of it is painful especially when a pipeline runs on more than one slave group and gets hit by the provisioning penalty multiple times.

          I would love to send a PR if you can steer me in the right direction.

          pancernik Rafal Wicha added a comment - - edited Hi. Are you planning to implement this feature? The lack of it is painful especially when a pipeline runs on more than one slave group and gets hit by the provisioning penalty multiple times. I would love to send a PR if you can steer me in the right direction.
          medianick Nick Jones added a comment -

          This looks like it was released in 1.4.6?

          medianick Nick Jones added a comment - This looks like it was released in 1.4.6 ?

          People

            Unassigned Unassigned
            kohsuke Kohsuke Kawaguchi
            Votes:
            9 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: