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

8 views
Skip to first unread message

tewing@gmail.com (JIRA)

unread,
Aug 20, 2019, 11:08:02 PM8/20/19
to jenkinsc...@googlegroups.com
Terry Ewing created an issue
 
Jenkins / Improvement JENKINS-59019
kubernetes-plugin should allow pre-warming of slaves
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: kubernetes-plugin
Created: 2019-08-21 03:07
Priority: Minor Minor
Reporter: Terry Ewing

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().

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

edanschwartz@gmail.com (JIRA)

unread,
Aug 27, 2019, 10:16:03 AM8/27/19
to jenkinsc...@googlegroups.com
Edan Schwartz commented on Improvement JENKINS-59019
 
Re: kubernetes-plugin should allow pre-warming of slaves

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

tewing@gmail.com (JIRA)

unread,
Aug 27, 2019, 1:14:02 PM8/27/19
to jenkinsc...@googlegroups.com

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.

memotype@gmail.com (JIRA)

unread,
Oct 14, 2019, 10:59:04 AM10/14/19
to jenkinsc...@googlegroups.com

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.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages