This message was deleted.
# k3d
a
This message was deleted.
m
The reason I ask is because I import images with a
k3d image import image1 image2 image3 -c clustername
, but for some reason one of the images is not found when I start a particular pod
w
docker exec k3d-clustername-server-0 ctr image list
m
Nice, thanks!
w
You're welcome πŸ™‚
m
I have this problem:
Copy code
2m9s        Warning   Failed              pod/pipeline-cron-workflow-1662634800         Failed to pull image "pipeline:latest": rpc error: code = Unknown desc = failed to pull and unpack image "<http://docker.io/library/pipeline:latest|docker.io/library/pipeline:latest>": failed to resolve reference "<http://docker.io/library/pipeline:latest|docker.io/library/pipeline:latest>": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
2m9s        Warning   Failed              pod/pipeline-cron-workflow-1662634800         Error: ErrImagePull
104s        Warning   Failed              pod/pipeline-cron-workflow-1662634800         Error: ImagePullBackOff
90s         Normal    BackOff             pod/pipeline-cron-workflow-1662634800         Back-off pulling image "pipeline:latest"
But according to the command I do seem to have the image:
Copy code
╰─ docker exec k3d-localcluster-server-0 ctr image list | grep 'pipeline'
<http://docker.io/library/pipeline:latest|docker.io/library/pipeline:latest>                                                                                  application/vnd.docker.distribution.manifest.v2+json      sha256:36c9a1bb5d363a32f2b98b526d321325d94ecbdb3250d232859d05cd282b9758 433.7 MiB linux/amd64                                                                                             io.cri-containerd.image=managed
Is this weird? I'm able to find some of the other images that I import in the same way
w
Can you try with a tag different from
latest
maybe? Do you only have a single node in the cluster?
m
Single node, yes. I'll try using a different tag now. I do have ImagePullPolicy:IfNotPresent for all of these
Same result..
No wait
Give me a second
That made it work, actually
Why is that?
w
I think I did some research on this before, but can't remember.. I can only find that one issue I closed without that research as it's more in K3s' scope than k3d πŸ€” https://github.com/k3d-io/k3d/issues/920
m
Thanks πŸ™‚ I'm happy to use another tag, so no worries here
w
374 Views