On Saturday, January 28, 2017 at 6:36:55 PM UTC+1, Joe Rhaman wrote: > > Carlos, > > This Plugin clearly doesn't work.... Please provide a detailed how to at > least rather on how this works. > > This is turning out to be a complete waste of time. >
Considering that are over 1200 installations, I think it is safe to assume that it does work for most people. There are examples at https://github.com/jenkinsci/kubernetes-plugin As I mentioned in the previous mail, in order to see why pods can't connect to jenkins you need to get the pod logs in Kubernetes side: kubectl logs pods/{your pod id} jnlp > > Joe > > On Monday, December 19, 2016 at 7:44:43 AM UTC, Carlos Sanchez wrote: >> >> >> >> On Tue, Dec 6, 2016, 22:37 Daniel Serodio <[email protected]> wrote: >> >>> Hi Carlos, >>> >>> I'm trying to understand how composing multiple containers (one with the >>> JNLP slave, another with Maven) in a Pod Template but I can't get the >>> example pipeline to work. The Jenkins logs show that it's "Waiting for >>> slave to connect", and after 100 tries it gives up, deletes the Pod and >>> creates a new one ad infinitum. >>> >>> Using "kubectl get pods" I can see that the 2 containers have been >>> created and the Pod is running, but it won't connect to the Jenkins master. >>> >> >> You need to get the pod logs to see why it is not connecting. kubectl >> logs pods/... jnlp >> >> >>> The example pipeline uses a maven and a golang images, but none of them >>> knows how to connect to Jenkins using JNLP. The README says that "The jnlp >>> agent image used can be customized by adding it to the template", but it >>> seems that I need to include a JNLP image in the pod template so that it >>> can talk to Jenkins. >>> >>> >>> On Wednesday, November 23, 2016 at 7:12:24 PM UTC-2, Carlos Sanchez >>> wrote: >>>> >>>> You can't just jump from a container to another, can only share >>>> through network or shared filesystem. >>>> http://kubernetes.io/docs/user-guide/pods/ >>>> >>>> I suggest using the Kubernetes Jenkins plugin that can do exactly what >>>> you want using pipeline >>>> >>>> https://github.com/jenkinsci/kubernetes-plugin/blob/master/README.md#pipeline-support >>>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Jenkins Users" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/jenkinsci-users/khpG2-6NBNI/unsubscribe >>> . >>> To unsubscribe from this group and all its topics, send an email to >>> [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-users/9ff5076f-b06e-428f-a43e-5c9d2e4b0094%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/jenkinsci-users/9ff5076f-b06e-428f-a43e-5c9d2e4b0094%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fa355e11-ec8d-4d75-8fb6-145bb710de31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
