https://rancher.com/ logo
#k3d
Title
# k3d
a

adamant-kite-43734

09/08/2022, 9:39 AM
This message was deleted.
m

melodic-market-42092

09/08/2022, 9:50 AM
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

wide-garage-9465

09/08/2022, 10:00 AM
docker exec k3d-clustername-server-0 ctr image list
m

melodic-market-42092

09/08/2022, 10:02 AM
Nice, thanks!
w

wide-garage-9465

09/08/2022, 10:03 AM
You're welcome 🙂
m

melodic-market-42092

09/08/2022, 11:05 AM
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

wide-garage-9465

09/08/2022, 11:09 AM
Can you try with a tag different from
latest
maybe? Do you only have a single node in the cluster?
m

melodic-market-42092

09/08/2022, 11:11 AM
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

wide-garage-9465

09/08/2022, 11:25 AM
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

melodic-market-42092

09/08/2022, 11:25 AM
Thanks 🙂 I'm happy to use another tag, so no worries here
w

wide-garage-9465

09/08/2022, 11:26 AM
355 Views