Working on getting development environment setup in Minikube and ran across an issue pulling images from the https://quay.io/v2/
registry.
I have ran the command:
eval $(minikube docker-env)
.
Which allows me to build my local Dockerfile
in Minikube and it does a great job with that and deployments work great with local images.
I then used helm to install
helm install stable/mssql-linux
.
Which worked fine and its image points to this microsoft/mssql-server-linux:2017-CU3
HERE
I am also working with redis-ha and installed like so:
helm install stable/redis-ha --set="rbac.create=false"
The rbac.create=false
seems to allow it to install in Minikube without causing all sorts of issues. However, despite creating deployments and services...the deployments ultimately fail because it cant pull the image.
I get the following error:
Failed to pull image "quay.io/smile/redis:4.0.8r0": rpc error: code = Unknown desc = Error response from daemon: Get https://quay.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
The deployments point to this registry image: quay.io/smile/redis:4.0.8r0
I have changed my DNS pretty much everywhere I could to point to 8.8.8.8
as it seems like it cant resolve the URL. It could also just be that I need to add the registry someplace? I kind of feel that its registry specific since Minikube docker daemon appears to be able to pull from docker hub
but not quay.io
.
If I use a terminal that is not running eval $(minikube docker-env)
and use the docker daemon on my host computer I can pull the quay.io/smile/redis:4.0.8r0
image just fine...ssh into minikube and try and it cant pull.
Minikube version
minikube version: v0.25.0
Docker for Mac
Version 17.12.0-ce-mac55 (23011)