kubernetes jenkins-plugins - JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behavior

11/24/2017

I am trying to configure Jenkin on my kubernetes cluster following steps from here https://radu-matei.com/blog/kubernetes-jenkins-azure/

from the slave I see JNLP Disabled not sure where I need to set this variable, tried in Jenkins global environment variable setting, it didn't work.

How can I set this variable?

Warning: JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behavior
Warning: SECRET is defined twice in command-line arguments and the environment variable
Warning: AGENT_NAME is defined twice in command-line arguments and the environment variable

enter image description here

Here is my jenkin configuration. enter image description here

-- sfgroups
jenkins
jenkins-plugins
kubernetes

1 Answer

6/27/2018

I think, you should change Jenkins URL to serviceName and use port 8080, something like this:

http://jenkins.default.svc.cluster.local:8080
-- CrusaderX
Source: StackOverflow