Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66747

Create agents on other cluster using kubernetes plugin running behind an Ingress controller.

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • kubernetes-plugin
    • None
    • Jenkins2.289.1, kubernetes-plugin1.30.1, kubernetes v1.18.3, NGINX Ingress controller Release:0.32.0 nginx version: nginx/1.17.10

      We have a requirement to create agents on another cluster using kubernetes plugin running behind an Ingress controller.

      So in this case the agents need to connect to jenkins using the Jenkins URL behind Ingress-Nginx that requires exposing port 50000. I did that using ingress nginx tcp port support:

      https://kubernetes.github.io/ingress-nginx/user-guide/exposing-tcp-udp-services/

      I am already using it to attach JNLP based windows static VM's but its not working in this case ?

      I create a ingress resource URL for tunnel endpoint.

      Agents are getting created on another cluster but they are not able to connect to the master.

       

      Is there an easy way of doing it (Websocket, direct connection) ? Any article resource around it ? Need some pointers.

       

            Unassigned Unassigned
            trivia21 Satish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: