Hi Philippe,
As Carlos pointed out, have you already gone through the documentation on 
the kubernetes-plugin: https://github.com/jenkinsci/kubernetes-plugin ?
What is shown there is enough to get you to a working state. 

The section in that doc about *Pod template inheritance* is a bit 
unclear/incorrect, so I'd recommend skipping over that and then looking 
into shared libraries 
<https://jenkins.io/doc/book/pipeline/shared-libraries/> once you get the 
basics working. 

If you're still having issues, more specific details about what isn't 
working and what you have would be required. 


On Wednesday, May 24, 2017 at 9:38:46 AM UTC+2, Philippe Fuentes wrote:
>
> Hi everybody, 
> I've been strugleling for a while trying to add an additional podTemplate 
> to the default one offered by this nice google installation tutorial:
>
> https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes
>
> started by trying to make the docker plugin work:
>
> https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes/issues/65
>
> then went to the kubernetes plugin road by trying to add an additional 
> podTemplate:
>
> https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes/issues/75
>
> tried many things, no success, the whole point is to be able to switch 
> between several configuration based on all ready gcloud/kubectl images:
>
> https://github.com/GoogleCloudPlatform/continuous-deployment-on-kubernetes/blob/master/jenkins/docker-slave-image/Dockerfile
>
> with different configuration for each (like adding nodejs etc...) 
> depending on the need of my services.
>
>
> but only the default podTemplate is working for me, can't seem to add 
> another, either with podTemplate on jenkinsfile or via the kubernete plugin 
> configuration (showed in the screenshot attached).
>
> quite new to Jenkins/Kubernetes/Docker, don't know what I'm missing...
>
>
> Thanks in advance for your help and for taking the time.
> Philippe
>
>  
>
>
>
>

-- 
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/a80fd3ee-1d08-4d47-82bd-657864a85d1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to