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

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

    XMLWordPrintable

Details

    • 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

            surenpi Rick added a comment - https://github.com/jenkinsci/kubernetes-plugin/releases/tag/kubernetes-1.19.1
            runzexia runze xia added a comment -

            mbarbero have created PR, If you could help review and some tests will be very nice

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

             

            runzexia runze xia added a comment - mbarbero have created PR, If you could help review and some tests will be very nice https://github.com/jenkinsci/kubernetes-plugin/pull/598  

            runzexia awesome! Let me know if/how I can help!

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

            mbarbero yes I have started

            runzexia runze xia added a comment - mbarbero yes I have started

            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?

            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?
            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.

            People

              runzexia runze xia
              mbarbero Mikaël Barbero
              Votes:
              8 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: