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

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

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Critical Critical
    • kubernetes-plugin
    • Use docker image jenkins/jenkins:lts to install jenkins master.
      Kubernetes Plugin is V1.15.3

       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.

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

              Created:
              Updated:
              Resolved: