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

Create a NodeProvisioner.Strategy for Kubernetes plugin to reduce provisioning time

    Details

    • Similar Issues:
    • Released As:
      kubernetes-1.19.1

      Description

      Currently, one have to fiddle with default provisionner flags (https://github.com/jenkinsci/kubernetes-plugin#over-provisioning-flags) to improve responsiveness of agent provisioning (at the risk of overprovisioning). Even with recommended values, some useless delays are introduced.

      I guess that in the context of a Kubernetes cloud, we could provide a simpler, yet more efficient, NodeProvisioner.Strategy implementation that would speed up the provisioning time.

      WDYT?

        Attachments

          Issue Links

            Activity

            Hide
            runzexia runze xia added a comment -
            Show
            runzexia runze xia added a comment - https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/NoDelayProvisionerStrategy.java I think the strategy in the ec2 plugin is very valuable.
            Hide
            mbarbero Mikaël Barbero added a comment -

            It looks like it would be a very good fit. Thanks for sharing.

            Are you starting the backport of the EC2 no-delay strategy to the Kubernetes plugin?

            Show
            mbarbero Mikaël Barbero added a comment - It looks like it would be a very good fit. Thanks for sharing. Are you starting the backport of the EC2 no-delay strategy to the Kubernetes plugin?
            Hide
            runzexia runze xia added a comment -

            Mikaël Barbero yes I have started

            Show
            runzexia runze xia added a comment - Mikaël Barbero yes I have started
            Hide
            mbarbero Mikaël Barbero added a comment -

            runze xia awesome! Let me know if/how I can help!

            Show
            mbarbero Mikaël Barbero added a comment - runze xia awesome! Let me know if/how I can help!
            Hide
            runzexia runze xia added a comment -

            Mikaël Barbero have created PR, If you could help review and some tests will be very nice

            https://github.com/jenkinsci/kubernetes-plugin/pull/598

             

            Show
            runzexia runze xia added a comment - Mikaël Barbero have created PR, If you could help review and some tests will be very nice https://github.com/jenkinsci/kubernetes-plugin/pull/598  
            Show
            surenpi Rick added a comment - https://github.com/jenkinsci/kubernetes-plugin/releases/tag/kubernetes-1.19.1

              People

              • Assignee:
                runzexia runze xia
                Reporter:
                mbarbero Mikaël Barbero
              • Votes:
                8 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: