Minikube can't download images

35 views
Skip to first unread message

Harald Husemann

unread,
Apr 8, 2021, 9:35:19 AM4/8/21
to AWX Project
Hello AWX-Experts,

I've already posted this in the minikube group but haven't got an answer so far. Maybe someone here at AWX can shed some light on it?

I've just installed minikube on a vSphere VM with a fresh CentOS 8 system to deploy Ansible AWX. I've followed the installation doc in https://minikube.sigs.k8s.io/docs/start/, installed the docker driver as described and also kubectl.
I can start minikube and have access to the dashboard, so, I tried to deploy the first image with "kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4". The container creation starts but fails with "ImagePullBackOff".
I've examined the logs and found that the command "curl -sS -m 2 https://k8s.gcr.io/" failed with status 28.
But, the command works when I execute it directly at the command prompt:

 awx@do-int-awx .minikube]$ curl -sS -m 2 https://k8s.gcr.io/
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://cloud.google.com/container-registry/">here</A>.
</BODY></HTML>

And, the two Ingress pods which are needed for AWX are also in the same state since the images can't be downloaded.
Btw., the server is a vSphere VM with direct internet access.

Thanks and have a nice hackin',

Harald
Reply all
Reply to author
Forward
0 new messages