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

Connect to kubernetes through a proxy agent

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • kubernetes-plugin
    • None

      Our jenkins master and our agents are on two distinct networks. The master is behind a reverse proxy that can be accessed from the Internet, but our agents are on our local VLAN.

      A one way route has been opened through the firewall to let the agents connect on the master with JNLP.

      Now we have a kubernetes cluster on our VLAN, but there is no way the master node will be allowed to connect to kubernetes directly.

       

      It would be very useful if it was possible to run an executor inside kubernetes that would work as a "proxy" or "delegate" to start the pods on demand. It would connect to jenkins using JNLP, but then should listen to kubernetes requests and execute them.

      This is the same concept as the gitlab-ci kubernetes executor that we also use: https://docs.gitlab.com/runner/executors/kubernetes.html

       

      Regards,

       

            Unassigned Unassigned
            dcendents Daniel Beland
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: