minikube icon indicating copy to clipboard operation
minikube copied to clipboard

Failed to pull image : rpc error: code = Unknown desc = context deadline exceeded

Open Rapter1990 opened this issue 1 year ago • 0 comments

What Happened?

I have a problem about deploying all spring boot microservices to Kubernetes.

I use minikube to open kubernetes dashboard through all these commands shown below.

1 ) minikube start
2 ) minikube dashboard

Next, I run kubectl apply -f k8s to deploy all services to Kubernetes.

I get errors shown below.

Auth Service -> Failed to pull image "noyandocker/authservice": rpc error: code = Unknown desc = context deadline exceeded

Api gateway -> Failed to pull image "noyandocker/apigateway": rpc error: code = Unknown desc = context deadline exceeded

Config server -> Failed to pull image "noyandocker/configserver": rpc error: code = Unknown desc = context deadline exceeded

Order Service -> Failed to pull image "noyandocker/orderservice": rpc error: code = Unknown desc = context deadline exceeded

Payment Service -> Failed to pull image "noyandocker/paymentservice": rpc error: code = Unknown desc = context deadline exceeded

Product Service -> Failed to pull image "noyandocker/productservice": rpc error: code = Unknown desc = Error response from daemon: Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io on 192.168.65.2:53: read udp 192.168.49.2:59506->192.168.65.2:53: i/o timeout

Mysql -> Show always "Pending" -> The selected container has not logged any messages yet.

Eureka -> container "eureka" in pod "eureka-0" is waiting to start: trying and failing to pull image

Here is the screenshot folder :Link

Here is the docker hub : Link

Here is the repo : Link

How can I fix all these issues?

Attach the log file

I showed the error message above

Operating System

Windows

Driver

Docker

Rapter1990 avatar Jan 10 '23 22:01 Rapter1990