kubernetes / examples

Kubernetes application example tutorials
Apache License 2.0
6.16k stars 4.52k forks source link

Image Tag Mismatch between k8s.gcr.io/guestbook:v3 and registry.k8s.io/guestbook:v3 #475

Closed highb closed 7 months ago

highb commented 1 year ago

When the image tag was switched over to the new registry.k8s.io container registry, it appears that the actual tags didn't get copied over quite right. When I deploy the registry.k8s.io/guestbook:v3 image to my cluster, the front-end fails because it attempts to look up redis-slave and gets no such host when the manifests are configured to set up the service as redis-replica. This leads me to believe that a new version of the go guestbook needs to be pushed and then the tags in the manifests need to be updated.

Related commit: https://github.com/kubernetes/examples/commit/538d302b41d0a865be8b8d80b843d0d9287dbbf3

able8 commented 1 year ago

I checked the 2 images digest are identical.

➜  ~ docker pull k8s.gcr.io/guestbook:v3
v3: Pulling from guestbook
...
Digest: sha256:8f333d5b72677d216b4eb046d655aef7be9f1380e06ca1c63dfa9564034e7e26
Status: Downloaded newer image for k8s.gcr.io/guestbook:v3
k8s.gcr.io/guestbook:v3
➜  ~ registry.k8s.io/guestbook:v3
zsh: no such file or directory: registry.k8s.io/guestbook:v3
➜  ~ docker pull registry.k8s.io/guestbook:v3
v3: Pulling from guestbook
...
Digest: sha256:8f333d5b72677d216b4eb046d655aef7be9f1380e06ca1c63dfa9564034e7e26
Status: Downloaded newer image for registry.k8s.io/guestbook:v3
registry.k8s.io/guestbook:v3
T-Lakshmi commented 1 year ago

I also verified and there is no issue present in this, both the image digests are same in below. 2023-07-17 08-22-42

T-Lakshmi commented 1 year ago

/triage needs-information

k8s-triage-robot commented 7 months ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

T-Lakshmi commented 7 months ago

Closing the issue as there is no update from @highb. Please feel free to reopen with necessary inputs if you are still facing this issue.

T-Lakshmi commented 7 months ago

/close

k8s-ci-robot commented 7 months ago

@T-Lakshmi: Closing this issue.

In response to [this](https://github.com/kubernetes/examples/issues/475#issuecomment-1909223141): >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.