When I get the status of pods I see image is not loaded

$ kubectl get pods

NAME                          READY     STATUS             RESTARTS   AGE

api4docker-2839975483-a5jju   0/1       ImagePullBackOff   0          10h

api4docker-2839975483-m5p84   0/1       ImagePullBackOff   0          10h


when I get the log from the first pod

$ kubectl logs api4docker-2839975483-a5jju

Error from server: container "api4docker" in pod
"api4docker-2839975483-a5jju" is waiting to start: trying and failing to
pull image

thank you for your help in advance.

On Wed, Jun 22, 2016 at 11:35 PM, Brandon Philips <
[email protected]> wrote:

> What is the error you get?
>
> On Wed, Jun 22, 2016 at 8:26 PM Turgos <[email protected]> wrote:
>
>> down votefavorite
>> <http://stackoverflow.com/questions/37981367/kubernetes-installation-with-vagrant-coreos-and-insecure-docker-registry#>
>>
>> I have followed the steps at
>> https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagrant.html to
>> launch a multi-node Kubernetes cluster using Vagrant and CoreOS.
>>
>> But,I could not find a way to set an insecure docker registry for that
>> environment. To be more specific, when I run
>>
>> kubectl run api4docker --image=myhost:5000/api4docker:latest --replicas=2 
>> --port=8080
>>
>> on this set up, it tries to get the image thinking it is a secure
>> registry. But, it is an insecure one.
>>
>> I appreciate any suggestions.
>>
>> Turgos
>>
>

Reply via email to