kubectl describe pod
would tell why the pod can't start.
If you are using private registry, "pull image secret" is required.
Sometimes a manual "docker logout" on the worker node help with image pull.

On Thu, Mar 7, 2019 at 12:05 PM Steve Garrett <[email protected]>
wrote:

> Hi, was able to figure that out, thanks for your help there.  Now I get a
> different problem.  My pod gets created now on the right cluster but it
> seems to fail to pull the image.  When I go onto any of the worker nodes
> I'm able to do a docker pull and it works just fine.  What am I doing wrong?
>
> Thanks
>
> Steve
>
>
> On Thu, Mar 7, 2019 at 4:42 AM Carlos Sanchez <[email protected]> wrote:
>
>> are you creating pod templates in UI or in pipeline?
>>
>> in UI is just a matter of assigning different labels to different pod
>> templates in different clouds
>> in pipeline you can pass an argument "cloud" to podTemplate
>>
>> On Wed, Mar 6, 2019 at 8:23 PM Steve Garrett <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to use multiple kubernetes clouds and have just a single
>>> jenkins I was able to get both kubernetes clusters registered as clouds and
>>> all the login checks work. When I run a build to the cluster where
>>> Jenkins is, i
>>> t works fine, pulls code, builds an image and all that. However, when I
>>> change the label to my second cluster, that doesn't have any Jenkins there
>>> it seems to never want to build there and always builds on the cluster
>>> that's local to Jenkins.
>>>
>>> I'm missing something stupid I'm sure of it but don't see what it is.
>>>
>>>
>>> Thanks for your help
>>>
>>>
>>> Steve
>>>
>>> --
>>> 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/51ef6954-78a9-44cf-a4f0-0848fb0f5547%40googlegroups.com
>>> <https://groups.google.com/d/msgid/jenkinsci-users/51ef6954-78a9-44cf-a4f0-0848fb0f5547%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/CALHFn6OXYBB0NXC%2BPZ3%2B7q-SnBxOpCausC0UNC2_JkRvdd7%2B9Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/CALHFn6OXYBB0NXC%2BPZ3%2B7q-SnBxOpCausC0UNC2_JkRvdd7%2B9Q%40mail.gmail.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/CAAtmvvtdpyXVZ%3DSNufUEzOEPdxECaj0jjKSSfqnsMqZ0b0%3DM1Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CAAtmvvtdpyXVZ%3DSNufUEzOEPdxECaj0jjKSSfqnsMqZ0b0%3DM1Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Thanks,
Baibai

-- 
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/CAMRm5ja1A6KTGsoZrq%2BRr-nyGwz-TLDKGYi%2B7YOjZn8Lubj7hg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to