<p>I'm deploying Jenkins with helm charts to GKE and having issue with jobs, mainly the slave doesn't see <code>tcpSlaveAgentListener</code> - it happens whenever i start any job - the master triggers scale of new jenkins-agent but it terminates with error like these</p>

<pre><code>SEVERE: Failed to connect to http://jenkins.jenkins.svc.my_website:8080/tcpSlaveAgentListener/: jenkins.jenkins.svc.my_website
java.io.IOException: Failed to connect to http://jenkins.jenkins.svc.my_website:8080/tcpSlaveAgentListener/: jenkins.jenkins.svc.my_website
  at org.jenkinsci.remoting.engine.JnlpAgentEndpointResolver.resolve(JnlpAgentEndpointResolver.java:206)
</code></pre>

<p>I replaced my domain(like google.com) to my_website - I'm curious about the jenkins.jenkins.svc.my_domain - is it built in or do I have some duplicates somewhere? that it has so many subdomains ? </p>

CptDolphin
<p>You have to configure TCP port for incoming agents to 50000 on master Jenkins configure section. </p>

<pre><code>1. Go to Configure Global Security
2. Under Agents section, select Fixed option and keep 50000 value.
</code></pre>
