adamant-kite-43734
02/28/2024, 4:28 PMcreamy-pencil-82913
02/28/2024, 6:01 PM<http://my.registry.com/devops/external-docker/nginx:v0.111|my.registry.com/devops/external-docker/nginx:v0.111>
available on one of your nodes? How exactly did you load it? Can you confirm that you see that image in ctr -n <http://k8s.io|k8s.io> image ls
on one of the nodes?creamy-pencil-82913
02/28/2024, 6:04 PMglamorous-afternoon-50134
02/29/2024, 7:18 AMctr -n <http://k8s.io|k8s.io> image import image.tar
. I can confirm that I see it with ctr -n <http://k8s.io|k8s.io> image ls
<http://my.registry.com/stable/devops/external-docker/nginx:v0.111|my.registry.com/stable/devops/external-docker/nginx:v0.111> application/vnd.docker.distribution.manifest.v2+json sha256:113ffbd0c92490728547fe48740bb084f187c57aa92f65d4351bd5018aeed93a 88.9 MiB linux/amd64 io.cri-containerd.image=managed
glamorous-afternoon-50134
02/29/2024, 7:18 AMglamorous-afternoon-50134
02/29/2024, 7:20 AM<http://docker.io/library/alpine|docker.io/library/alpine>
that I loaded with ctr like the rest but did not re-tag with "my.registry.com". It seems the issue is limited to the images with "my.registry.com" at the beginning.
For context, here is my registries.yaml
file:
```mirrors:
docker.io:
registry.k8s.io:
my.registry.com:```glamorous-afternoon-50134
02/29/2024, 7:45 AMFeb 29 074236 ip-10-0-10-10 k3s[1797514]: time="2024-02-29T074236Z" level=info msg="spegel 2024/02/29 074236 \"msg\"=\"\" \"error\"=\"mirror resolve retries exhausted for key: my.registry.com/devops/external-docker/nginx:v0.111\" \"path\"=\"/v2/devops/external-docker/nginx/manifests/v0.111\" \"status\"=500 \"method\"=\"HEAD\" \"latency\"=\"389.43µs\" \"ip\"=\"127.0.0.1\" \"handler\"=\"mirror\""
creamy-pencil-82913
02/29/2024, 9:30 AMglamorous-afternoon-50134
02/29/2024, 9:33 AMctr -n <http://k8s.io|k8s.io> image import
is all I need? If so, why can I start a pod using an image prefixed "docker.io" and not "my.registry.com" when they are both loaded from the tarballs?creamy-pencil-82913
02/29/2024, 9:36 AMcreamy-pencil-82913
02/29/2024, 9:36 AMglamorous-afternoon-50134
02/29/2024, 9:38 AM<http://my.registry.com/devops/external-docker/nginx:v0.111|my.registry.com/devops/external-docker/nginx:v0.111>
(for this image at lease, there are others)
They show up the same after being imported (if ctr
is what I should use to get that info)
The pull policy if IfNotPresent
glamorous-afternoon-50134
02/29/2024, 9:45 AM