I have installed jenkins
on GKE using its official helm chart.
Master service is exposed on a public IP using nginx ingress controller, so I am able to login to the ui and spin up jobs at (say) https://11.22.33.44/jenkins
I have also exposed its 50000
port using a LoadBalancer
on (say) http://33.44.55.66:50000
, so
▶ curl http://33.44.55.66:50000
Jenkins-Agent-Protocols: JNLP4-connect, Ping
Jenkins-Version: 2.204.2
Jenkins-Session: cc73b56e
Client: 10.3.34.1
Server: 10.3.34.192
Remoting-Minimum-Version: 3.14
However I am unable to perform a remote execution from an agent:
java -jar agent.jar -jnlpUrl http://33.44.55.66:50000/computer/Mobile%20Builder%203/slave-agent.jnlp -secret fefkjnefkjfekjfekjfekjfekjfekjkff
Failing to obtain http://33.44.55.66:50000/computer/Mobile%20Builder%203/slave-agent.jnlp?encrypt=true
java.io.IOException: Failed to load http://33.44.55.66:50000/computer/Mobile%20Builder%203/slave-agent.jnlp?encrypt=true: 404 Not Found
at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:496)
at hudson.remoting.Launcher.run(Launcher.java:322)
at hudson.remoting.Launcher.main(Launcher.java:283)
Am I missing a step?