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

kubernetes-plugin should allow pre-warming of slaves

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      When using jenkins kubernetes-plugin each jenkins job in my cluster takes an additional 2 minutes to start. This is due to the job kicking-off a new pod and awaiting the pod to start all containers and register itself with the master.

      Is there a way to have a pod created and available for the next job? Each of our pipelines is constructed from a slightly different podTemplate() so I understand I would need to have an idle pod for each podTemplate().

          [JENKINS-59019] kubernetes-plugin should allow pre-warming of slaves

          Edan Schwartz added a comment -

          Any updates on this? Or any workarounds you could share?

          Edan Schwartz added a comment - Any updates on this? Or any workarounds you could share?

          Terry Ewing added a comment -

          No updates and the only workaround is to go through the pod startup process on each job execution. I'm hoping there's a configuration setting I've missed.

          Terry Ewing added a comment - No updates and the only workaround is to go through the pod startup process on each job execution. I'm hoping there's a configuration setting I've missed.

          Isaac Freeman added a comment -

          I'd like to see this too, the startup time for agent pods is often longer than the actual builds in our case. We aren't even using pod templates, we just have a unified build environment set as a global pod template in the system settings, so having the ability to keep some number of pods pre-started would greatly accelerate our development cycle.

          Isaac Freeman added a comment - I'd like to see this too, the startup time for agent pods is often longer than the actual builds in our case. We aren't even using pod templates, we just have a unified build environment set as a global pod template in the system settings, so having the ability to keep some number of pods pre-started would greatly accelerate our development cycle.

          Any updates regarding this issue??

          Bhargavi Majeti added a comment - Any updates regarding this issue??

            Unassigned Unassigned
            tewing Terry Ewing
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: