Hi,
I have setup an on-prem cluster with Rancher 2.X (
https://rancher.com/docs/rke/latest/en/installation/), when I set the worker node on the same master, the jnlp slave can start successfully. However, when I try a new node in the cluster, I use the master on one machine and another machine as worker node then I got this error with the slave pod:
SEVERE: http://<my_jenkins_server>/tcpSlaveAgentListener/ is invalid: 404 Not Found
java.io.IOException: http://<my_jenkins_server>/tcpSlaveAgentListener/ is invalid: 404 Not Found
at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:202)
at hudson.remoting.Engine.innerRun(Engine.java:523)
at hudson.remoting.Engine.run(Engine.java:474)
I try to test the connection on both the master and worker node with:
curl http://<my_jenkins_server>/tcpSlaveAgentListener/
then I got response:
Jenkins
I'm new with Kubernetes so not sure what happen here. It would be great if you can have a suggestion of which on-prem Kubernetes tool should be good in case the error because the way Rancher handle the NodePort between master and worker node(s).
Thanks,
Quang