Re: podTemplate with GKE

2017-05-29 Thread Knurek
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 
 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Re: podTemplate with GKE

2017-05-24 Thread Carlos Sanchez
First, what does it mean "it doesn't work"? Have you checked the Jenkins
logs?

You can find examples at https://github.com/jenkinsci/kubernetes-plugin

On Wed, May 24, 2017, 09:39 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/299315b6-546a-4bce-ac72-c95469ff7ece%40googlegroups.com
> 
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6OuEkxL%2By-E9Y6rK-_hJ%2BrFfbaHdTByGJdZ2kj2MLXBXw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


podTemplate with GKE

2017-05-24 Thread Philippe Fuentes
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/299315b6-546a-4bce-ac72-c95469ff7ece%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.