[JIRA] (JENKINS-52978) Improve image definition of jnlp container

1 view
Skip to first unread message

jniebuhr@cfire.de (JIRA)

unread,
Aug 10, 2018, 5:26:02 AM8/10/18
to jenkinsc...@googlegroups.com
Jochen Niebuhr created an issue
 
Jenkins / Improvement JENKINS-52978
Improve image definition of jnlp container
Issue Type: Improvement Improvement
Assignee: Carlos Sanchez
Components: kubernetes-plugin
Created: 2018-08-10 09:25
Priority: Minor Minor
Reporter: Jochen Niebuhr

The default for the autogenerated JNLP container is to have it's image set to "jenkins/jnlp-slave:alpine" and the imagePullPolicy set to "IfNotExists". After some updates this might lead to very old cached versions of the image "jenkins/jnlp-slave:alpine" which might not work with the Jenkins itself anymore. This could be resolved by:
a) Setting the jnlp version to a compatible version on every new kubernetes plugin release (i.E. jenkins/jnlp-slave:3.23-1-alpine)

b) Setting the imagePullPolicy to Always (This might annoy some people because it will do unnecessary requests)

I've solved the problem for myself by creating a default pod template with the current jnlp-slave but that seems a bit like a workaround to me.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

jglick@cloudbees.com (JIRA)

unread,
Jul 16, 2019, 3:44:10 PM7/16/19
to jenkinsc...@googlegroups.com
Jesse Glick assigned an issue to Unassigned
Change By: Jesse Glick
Assignee: Carlos Sanchez
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)
Reply all
Reply to author
Forward
0 new messages