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

Kubernetes plugin Windows agent support

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I am running a Kubernetes cluster with a Windows node to run my tests on. I have installed the Kubernetes plugin in Jenkins, and when a pod is created in the Windows node it creates the jnlp-slave container in it as well, but the image is Linux based. This fails the pod creation, I looked everywhere for a way to omit the jnlp-slave container or at the very least change it to one that works on Windows from the 'Configure System' section. 

      On that same note is there an official jnlp-slave image for Windows, or is the Linux on the only available? If not this can be added as a choice for the user if they are using windows pods.

      Thanks

        Attachments

        1. CaptureKubernetesPlugin1.PNG
          67 kB
          Otavio Moraes
        2. CaptureKubernetesPlugin2.PNG
          52 kB
          Otavio Moraes

          Issue Links

            Activity

            Hide
            snapstromegon Raphael Höser added a comment -

            In my opinion this would be solved, if jenkins would provide a jnlp image based on the openjdk:8-windowsservercore image. This would make the jnlp image windows friendly.

            By the way: If your windows node allows running windows and linux containers side by side I think no changes are necessary.

            Show
            snapstromegon Raphael Höser added a comment - In my opinion this would be solved, if jenkins would provide a jnlp image based on the openjdk:8-windowsservercore image. This would make the jnlp image windows friendly. By the way: If your windows node allows running windows and linux containers side by side I think no changes are necessary.
            Hide
            mluyo3414 Miguel Suarez added a comment - - edited

            did anybody solve this? I was able to provision the pod with a Windows jnlp agent and the logs show connected but it gets stuck not executing the step for the Windows container 

            Show
            mluyo3414 Miguel Suarez added a comment - - edited did anybody solve this? I was able to provision the pod with a Windows jnlp agent and the logs show connected but it gets stuck not executing the step for the Windows container 
            Hide
            slide_o_mix Alex Earl added a comment -

            Raphael Höser I am in the process of supporting an openjdk:8-windowsservercore image, you can see the test image at jenkins4eval/jnlp-agent:latest-windows on DockerHub.

            Show
            slide_o_mix Alex Earl added a comment - Raphael Höser I am in the process of supporting an openjdk:8-windowsservercore image, you can see the test image at jenkins4eval/jnlp-agent:latest-windows on DockerHub.
            Hide
            olblak Olivier Vernin added a comment - - edited

            Miguel Suarez, with the help of Alex Earl, I was able to run a job inside windows container, right now the 'container step' doesn't seem be working, so everything need to be running inside the 'jnlp' container. I have a working example here

            Show
            olblak Olivier Vernin added a comment - - edited Miguel Suarez , with the help of Alex Earl , I was able to run a job inside windows container, right now the 'container step' doesn't seem be working, so everything need to be running inside the 'jnlp' container. I have a working example  here
            Hide
            jglick Jesse Glick added a comment -

            the 'container step' doesn't seem be working

            Known limitation: JENKINS-53500

            Show
            jglick Jesse Glick added a comment - the 'container step' doesn't seem be working Known limitation: JENKINS-53500

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              moraesmedacuity Otavio Moraes
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: