Re: Jenkins slaves in multiple kubernetes cluster

2019-01-07 Thread Don Capito
Yes, the master pod logs showed SUCCESSFUL whether the IP is cluster1 or
cluster2. However, the slave pods are always launching in cluster1,
regardless of what's set in Kubernetes URL. Seems the Kubernetes URL is not
being used at all or if did it's overridden by cluster1 IP.

On Mon, 7 Jan 2019 at 08:46, Carlos Sanchez  wrote:

> check the logs
> https://github.com/jenkinsci/kubernetes-plugin/#debugging
>
>
>
> On Mon, Jan 7, 2019 at 9:07 AM Don Capito 
> wrote:
>
>> No joy. Regardless whether Kubernetes URL is set to cluster1  (ie,
>> jenkins master pod) or cluster2 (jenkins slave) IP, the jenkins slave pods
>> are still launched in cluster1.
>> Am I missing some setttings?
>>
>> On Fri, 4 Jan 2019 at 15:01, Carlos Sanchez  wrote:
>>
>>> master can be anywhere, on prem, vm, kubernetes,...
>>> agents launch as pods
>>>
>>> On Fri, Jan 4, 2019 at 3:26 PM  wrote:
>>>
 Does that mean there will be a pod for master on cluster1 and another
 pod for slave on cluster2?

 On Friday, 4 January 2019 14:17:58 UTC, Carlos Sanchez wrote:
>
> you can run agents in another cluster. You need to check the logs of
> both master and pods to see if the pods can't connect back to the master
>
> On Fri, Jan 4, 2019 at 3:03 PM  wrote:
>
>> Hi,
>> Not sure if this is even possible using the K8s plugin.
>> We stood up a new K8s cluster and added its IP in Jenkins master
>> config: Cloud -> Kubernetes -> Kubernetes URL.
>> Tested Connection is OK.
>>
>> Filled the Jenkins URL with the Jenkins master IP, but when launching
>> jobs, they're just stuck to the queue compared to running master/slave 
>> in a
>> single K8s cluster.
>>
>> Q: Is it even possible to run master on one K8s cluster and launch
>> slaves on different clusters?
>> Or the plugin is designed to run master and slaves on the same
>> cluster?
>>
>> Thanks,
>> Don
>>
>> --
>> 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-use...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/590802bf-e490-40ec-b7b8-21e090c2432e%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/83c4bd85-09bf-4272-b11d-6857fc217f6d%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/CALHFn6My7LCNTWEdo%2BAjhti42PiXiwVYzi6%2BrqU%2BxQ1zS29aAQ%40mail.gmail.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/CAN8ezqf2_yca%3D8B3QOV0VKEkHSW10SQeHqrY%2BxZqd17NoBGnZg%40mail.gmail.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/CALHFn6M9xTZfNt5YCd%3DuC2goBkEOr4FuB2yu5CcUPnCU3%2Bpt%3DQ%40mail.gmail.com
> 

Re: Jenkins slaves in multiple kubernetes cluster

2019-01-07 Thread Carlos Sanchez
check the logs
https://github.com/jenkinsci/kubernetes-plugin/#debugging



On Mon, Jan 7, 2019 at 9:07 AM Don Capito  wrote:

> No joy. Regardless whether Kubernetes URL is set to cluster1  (ie, jenkins
> master pod) or cluster2 (jenkins slave) IP, the jenkins slave pods are
> still launched in cluster1.
> Am I missing some setttings?
>
> On Fri, 4 Jan 2019 at 15:01, Carlos Sanchez  wrote:
>
>> master can be anywhere, on prem, vm, kubernetes,...
>> agents launch as pods
>>
>> On Fri, Jan 4, 2019 at 3:26 PM  wrote:
>>
>>> Does that mean there will be a pod for master on cluster1 and another
>>> pod for slave on cluster2?
>>>
>>> On Friday, 4 January 2019 14:17:58 UTC, Carlos Sanchez wrote:

 you can run agents in another cluster. You need to check the logs of
 both master and pods to see if the pods can't connect back to the master

 On Fri, Jan 4, 2019 at 3:03 PM  wrote:

> Hi,
> Not sure if this is even possible using the K8s plugin.
> We stood up a new K8s cluster and added its IP in Jenkins master
> config: Cloud -> Kubernetes -> Kubernetes URL.
> Tested Connection is OK.
>
> Filled the Jenkins URL with the Jenkins master IP, but when launching
> jobs, they're just stuck to the queue compared to running master/slave in 
> a
> single K8s cluster.
>
> Q: Is it even possible to run master on one K8s cluster and launch
> slaves on different clusters?
> Or the plugin is designed to run master and slaves on the same cluster?
>
> Thanks,
> Don
>
> --
> 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-use...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/590802bf-e490-40ec-b7b8-21e090c2432e%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/83c4bd85-09bf-4272-b11d-6857fc217f6d%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/CALHFn6My7LCNTWEdo%2BAjhti42PiXiwVYzi6%2BrqU%2BxQ1zS29aAQ%40mail.gmail.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/CAN8ezqf2_yca%3D8B3QOV0VKEkHSW10SQeHqrY%2BxZqd17NoBGnZg%40mail.gmail.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/CALHFn6M9xTZfNt5YCd%3DuC2goBkEOr4FuB2yu5CcUPnCU3%2Bpt%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins slaves in multiple kubernetes cluster

2019-01-07 Thread Don Capito
No joy. Regardless whether Kubernetes URL is set to cluster1  (ie, jenkins
master pod) or cluster2 (jenkins slave) IP, the jenkins slave pods are
still launched in cluster1.
Am I missing some setttings?

On Fri, 4 Jan 2019 at 15:01, Carlos Sanchez  wrote:

> master can be anywhere, on prem, vm, kubernetes,...
> agents launch as pods
>
> On Fri, Jan 4, 2019 at 3:26 PM  wrote:
>
>> Does that mean there will be a pod for master on cluster1 and another pod
>> for slave on cluster2?
>>
>> On Friday, 4 January 2019 14:17:58 UTC, Carlos Sanchez wrote:
>>>
>>> you can run agents in another cluster. You need to check the logs of
>>> both master and pods to see if the pods can't connect back to the master
>>>
>>> On Fri, Jan 4, 2019 at 3:03 PM  wrote:
>>>
 Hi,
 Not sure if this is even possible using the K8s plugin.
 We stood up a new K8s cluster and added its IP in Jenkins master
 config: Cloud -> Kubernetes -> Kubernetes URL.
 Tested Connection is OK.

 Filled the Jenkins URL with the Jenkins master IP, but when launching
 jobs, they're just stuck to the queue compared to running master/slave in a
 single K8s cluster.

 Q: Is it even possible to run master on one K8s cluster and launch
 slaves on different clusters?
 Or the plugin is designed to run master and slaves on the same cluster?

 Thanks,
 Don

 --
 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-use...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/jenkinsci-users/590802bf-e490-40ec-b7b8-21e090c2432e%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/83c4bd85-09bf-4272-b11d-6857fc217f6d%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/CALHFn6My7LCNTWEdo%2BAjhti42PiXiwVYzi6%2BrqU%2BxQ1zS29aAQ%40mail.gmail.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/CAN8ezqf2_yca%3D8B3QOV0VKEkHSW10SQeHqrY%2BxZqd17NoBGnZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins slaves in multiple kubernetes cluster

2019-01-04 Thread Carlos Sanchez
master can be anywhere, on prem, vm, kubernetes,...
agents launch as pods

On Fri, Jan 4, 2019 at 3:26 PM  wrote:

> Does that mean there will be a pod for master on cluster1 and another pod
> for slave on cluster2?
>
> On Friday, 4 January 2019 14:17:58 UTC, Carlos Sanchez wrote:
>>
>> you can run agents in another cluster. You need to check the logs of both
>> master and pods to see if the pods can't connect back to the master
>>
>> On Fri, Jan 4, 2019 at 3:03 PM  wrote:
>>
>>> Hi,
>>> Not sure if this is even possible using the K8s plugin.
>>> We stood up a new K8s cluster and added its IP in Jenkins master config:
>>> Cloud -> Kubernetes -> Kubernetes URL.
>>> Tested Connection is OK.
>>>
>>> Filled the Jenkins URL with the Jenkins master IP, but when launching
>>> jobs, they're just stuck to the queue compared to running master/slave in a
>>> single K8s cluster.
>>>
>>> Q: Is it even possible to run master on one K8s cluster and launch
>>> slaves on different clusters?
>>> Or the plugin is designed to run master and slaves on the same cluster?
>>>
>>> Thanks,
>>> Don
>>>
>>> --
>>> 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-use...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jenkinsci-users/590802bf-e490-40ec-b7b8-21e090c2432e%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/83c4bd85-09bf-4272-b11d-6857fc217f6d%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/CALHFn6My7LCNTWEdo%2BAjhti42PiXiwVYzi6%2BrqU%2BxQ1zS29aAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins slaves in multiple kubernetes cluster

2019-01-04 Thread don . capito . rmg
Does that mean there will be a pod for master on cluster1 and another pod 
for slave on cluster2?

On Friday, 4 January 2019 14:17:58 UTC, Carlos Sanchez wrote:
>
> you can run agents in another cluster. You need to check the logs of both 
> master and pods to see if the pods can't connect back to the master
>
> On Fri, Jan 4, 2019 at 3:03 PM > wrote:
>
>> Hi,
>> Not sure if this is even possible using the K8s plugin.
>> We stood up a new K8s cluster and added its IP in Jenkins master config: 
>> Cloud -> Kubernetes -> Kubernetes URL. 
>> Tested Connection is OK.
>>
>> Filled the Jenkins URL with the Jenkins master IP, but when launching 
>> jobs, they're just stuck to the queue compared to running master/slave in a 
>> single K8s cluster.
>>
>> Q: Is it even possible to run master on one K8s cluster and launch slaves 
>> on different clusters?
>> Or the plugin is designed to run master and slaves on the same cluster?
>>
>> Thanks,
>> Don
>>
>> -- 
>> 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-use...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jenkinsci-users/590802bf-e490-40ec-b7b8-21e090c2432e%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/83c4bd85-09bf-4272-b11d-6857fc217f6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jenkins slaves in multiple kubernetes cluster

2019-01-04 Thread Carlos Sanchez
you can run agents in another cluster. You need to check the logs of both
master and pods to see if the pods can't connect back to the master

On Fri, Jan 4, 2019 at 3:03 PM  wrote:

> Hi,
> Not sure if this is even possible using the K8s plugin.
> We stood up a new K8s cluster and added its IP in Jenkins master config:
> Cloud -> Kubernetes -> Kubernetes URL.
> Tested Connection is OK.
>
> Filled the Jenkins URL with the Jenkins master IP, but when launching
> jobs, they're just stuck to the queue compared to running master/slave in a
> single K8s cluster.
>
> Q: Is it even possible to run master on one K8s cluster and launch slaves
> on different clusters?
> Or the plugin is designed to run master and slaves on the same cluster?
>
> Thanks,
> Don
>
> --
> 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/590802bf-e490-40ec-b7b8-21e090c2432e%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/CALHFn6P%3DE%3D3018-mW8uS6dzSLD20LtMV8xSUsOCi95YF5QePtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Jenkins slaves in multiple kubernetes cluster

2019-01-04 Thread don . capito . rmg
Hi,
Not sure if this is even possible using the K8s plugin.
We stood up a new K8s cluster and added its IP in Jenkins master config: 
Cloud -> Kubernetes -> Kubernetes URL. 
Tested Connection is OK.

Filled the Jenkins URL with the Jenkins master IP, but when launching jobs, 
they're just stuck to the queue compared to running master/slave in a 
single K8s cluster.

Q: Is it even possible to run master on one K8s cluster and launch slaves 
on different clusters?
Or the plugin is designed to run master and slaves on the same cluster?

Thanks,
Don

-- 
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/590802bf-e490-40ec-b7b8-21e090c2432e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.