Skip to content

Image Version updated to avoid image pullbackoff error.#3221

Open
ChinaBrahma wants to merge 12 commits intoGoogleCloudPlatform:mainfrom
ChinaBrahma:main
Open

Image Version updated to avoid image pullbackoff error.#3221
ChinaBrahma wants to merge 12 commits intoGoogleCloudPlatform:mainfrom
ChinaBrahma:main

Conversation

@ChinaBrahma
Copy link
Copy Markdown

Background

Previously, the Kubernetes manifest files used short image names (e.g., image: adservice). This configuration caused ImagePullBackOff errors when deployed on a remote cluster (like AWS EC2) because Kubernetes defaulted to looking for these images on Docker Hub, where they do not exist. The manifests were missing the specific container registry URL.

Fixes

Fixes ImagePullBackOff errors in kubernetes-manifests.

Change Summary

Updated all microservice deployment manifests to use the official Google Container Registry (gcr.io) paths and pinned them to version v0.10.1 to ensure stability.

| Service Name | Correct Image URL |
| adservice | gcr.io/google-samples/microservices-demo/adservice:v0.10.1 |
| cartservice | gcr.io/google-samples/microservices-demo/cartservice:v0.10.1 |
| checkoutservice | gcr.io/google-samples/microservices-demo/checkoutservice:v0.10.1 |
| currencyservice | gcr.io/google-samples/microservices-demo/currencyservice:v0.10.1 |
| emailservice | gcr.io/google-samples/microservices-demo/emailservice:v0.10.1 |
| frontend | gcr.io/google-samples/microservices-demo/frontend:v0.10.1 |
| paymentservice | gcr.io/google-samples/microservices-demo/paymentservice:v0.10.1 |
| productcatalog | gcr.io/google-samples/microservices-demo/productcatalogservice:v0.10.1 |
| recommendation | gcr.io/google-samples/microservices-demo/recommendationservice:v0.10.1 |
| shippingservice | gcr.io/google-samples/microservices-demo/shippingservice:v0.10.1 |

Additional Notes

The redis image remains as redis:alpine because it is a standard image available on the public Docker Hub.

Testing Procedure

  1. Apply the updated manifests: kubectl apply -f ./kubernetes-manifests

  2. Monitor pod status: kubectl get pods

  3. Verify that all pods transition from ImagePullBackOff or Pending to Running state.

  4. (Optional) Access the frontend via NodePort or LoadBalancer to confirm the application is live.

Related PRs or Issues

N/A

@ChinaBrahma ChinaBrahma requested review from a team and yoshi-approver as code owners January 20, 2026 05:30
@google-cla
Copy link
Copy Markdown

google-cla bot commented Jan 20, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant