I'm also interested in this.. Does this plugin support having a Jenkins 
master running somewhere else and the slaves in the k8s cluster?

On Thursday, December 28, 2017 at 4:17:56 PM UTC-5, Vamsi krishna wrote:
>
> @carlos   
> i checked the logs but there is nothing showing in the logs.... jenkins is 
> running outside of the cluster.. so i cant use the jenkins if i run outside 
> the cluster.
>
> On Monday, November 21, 2016 at 12:43:08 AM UTC-8, Sébastien Douche wrote:
>>
>> Hi folks, 
>> I try with the kubernetes-ci to create a pod with a container to do some 
>> work (get source code, compile it, etc) and a jnlp container (only used 
>> to connect to the Jenkins server). The goal is to avoid the adding of 
>> the jnlp binary into all my containers. So I tried this: 
>>
>> ---------------------------------------- 
>> apiVersion: "v1" 
>> kind: "Pod" 
>> metadata: 
>>   name: "k8s-slave" 
>>   labels: 
>>     name: "k8s-slave" 
>> spec: 
>>   containers: 
>>   - name: "jenkins-slave" 
>>     image: "jenkinsci/jnlp-slave" 
>>     volumeMounts: 
>>     - mountPath: /home/jenkins 
>>       name: workspace-volume 
>>     env: 
>>     - name: "JENKINS_URL" 
>>       value: "https://XXX"; 
>>   - name: "golang" 
>>     image: "golang:1.6.3-alpine" 
>>     volumeMounts: 
>>     - mountPath: /home/jenkins 
>>       name: workspace-volume 
>>   volumes: 
>>     - emptyDir: {} 
>>       name: workspace-volume 
>> ---------------------------------------- 
>>
>> And a trivial job which try to access on the golang container: 
>>
>> ---------------------------------------- 
>> git clone https://github.com/hashicorp/terraform.git 
>> mkdir -p /go/src/github.com/hashicorp 
>> ln -s `pwd` /go/src/github.com/hashicorp/terraform 
>> cd /go/src/github.com/hashicorp/terraform && make core-dev 
>> ---------------------------------------- 
>>
>> It doesn't work 'cause the job have access on the jnlp fs and not the 
>> golang one. What is missing to access on the golang container? 
>>
>>
>>
>> Thanks. 
>>
>>
>> -- 
>> Sébastien Douche <[email protected]> 
>> Twitter: @sdouche 
>> http://douche.name 
>>
>

-- 
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/54962d38-41b7-40f3-ad2e-e01576a21875%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to