GoogleCloudPlatform / microservices-demo

Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.
https://cymbal-shops.retail.cymbal.dev
Apache License 2.0
16.77k stars 7.17k forks source link

skaffold-built Docker images can't be pulled by kind cluster #1446

Closed NimJay closed 1 year ago

NimJay commented 1 year ago

Describe the bug

Pods

When I checked which Pods were running (via kubectl get pods), I saw:

adservice-6f5d7d59bb-kdk5z               0/1     ErrImagePull       0          109s
cartservice-5485c987db-f4bkl             0/1     ErrImagePull       0          109s
checkoutservice-5cd9998677-gn69n         0/1     ErrImagePull       0          109s
currencyservice-5bcbcc75d4-7fb4n         0/1     ErrImagePull       0          109s
emailservice-656846b7c9-6zhdb            0/1     ImagePullBackOff   0          109s
frontend-5d75bc575c-gdjrb                0/1     ErrImagePull       0          109s
loadgenerator-8c7d48b7f-cjglb            0/1     ImagePullBackOff   0          108s
paymentservice-85d57d45-bxsdr            0/1     ErrImagePull       0          109s
productcatalogservice-7d4d575d98-2ldvs   0/1     ErrImagePull       0          109s
recommendationservice-745646fdfc-65z8m   0/1     ErrImagePull       0          108s
redis-cart-74d56b45ff-bngf6              1/1     Running            0          108s
shippingservice-54f555c9d5-pbhwt         0/1     ErrImagePull       0          108s

Note that redis-cart-74d56b45ff-bngf6 is running successfully because its image is pulled directly from hub.docker.com/_/redis — not locally builts.

To Reproduce

  1. Create a kind cluster: kind create cluster --name my-kind-cluster
  2. Use skaffold version 2.0.1 and run skaffold dev.

Environment

> skaffold version
v2.0.1

> kind version
kind v0.17.0 go1.19.3 darwin/amd64

> git show
commit 83fc84cfb89774aea1ea426beb16219fc088b166 (HEAD -> main, origin/main)

Additional context

NimJay commented 1 year ago

This was addressed by https://github.com/GoogleCloudPlatform/microservices-demo/pull/1447. Closing.