ThomasVitale / cloud-native-spring-in-action

🍃 Code samples and projects from the book "Cloud Native Spring in Action - With Spring Boot and Kubernetes" (Manning)
https://www.manning.com/books/cloud-native-spring-in-action
Apache License 2.0
426 stars 257 forks source link

minikube not able to pull images #34

Closed ksanjeev9211 closed 10 months ago

ksanjeev9211 commented 1 year ago

I am going through your book and trying to follow all the lessons, howver, I am now stuck on chapter 07 because the minikube is not able to pull the postgres image. kubectl apply -f services I get the following when I try to execute kubectl get pod:

NAME READY STATUS RESTARTS AGE polar-postgres-5b5c6fd948-nm882 0/1 ErrImagePull 0 16s

I am behind a corporate proxy, and I have configured the required HTTPS_PROXY, HTTP_PROXY, and NO_PROXY.

Thanks

ThomasVitale commented 1 year ago

@ksanjeev9211 thanks for your question. Could you please share more info about your Minikube setup? Have you configured the three environment variables for both Minikube and Docker as explained here?

Also, could you share the result of kubectl describe pod <pod-name>?

Thank you

ThomasVitale commented 10 months ago

Since there hasn't been any news, I'm closing this issue for now, but feel free to open a new one should you still have some problems with the Minikube setup.

I have added a guide about using Minikube behind a proxy, with some useful links: https://github.com/ThomasVitale/cloud-native-spring-in-action/blob/main/Guides/minikube-configuration-behind-a-proxy.md.