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

Can't use customized jenkins-jnlp images when added the Kubernetes Plugin

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Component/s: kubernetes-plugin
    • Labels:
    • Environment:
      Use docker image jenkins/jenkins:lts to install jenkins master.
      Kubernetes Plugin is V1.15.3
    • Similar Issues:

      Description

       I configure the Kubernetes container template and set the container name as "jnlp" to use my own images as agent. But when I build the job, the slave can't connect to master. Jenkins master logs as below

      INFO: Created Pod: kube-system/jnlp-n3vb7 May 13, 2019 8:13:36 AM okhttp3.internal.platform.Platform log INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path? May 13, 2019 8:13:40 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch INFO: Pod is running: kube-system/jnlp-n3vb7 May 13, 2019 8:13:40 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch INFO: Waiting for agent to connect (0/100): jnlp-n3vb7 May 13, 2019 8:13:41 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch INFO: Waiting for agent to connect (1/100): jnlp-n3vb7 May 13, 2019 8:13:42 AM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch INFO: Waiting for agent to connect (2/100): jnlp-n3vb7

      Please help.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                csanchez Carlos Sanchez
                Reporter:
                june_junjun June Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: