This message was deleted.
# rancher-desktop
a
This message was deleted.
f
You need to provide more information about how it fails. What are the errors you encounter?
Looks like we did not announce this here: Release Rancher Desktop 1.9 · rancher-sandbox/rancher-desktop
g
When I do
kubectl describe pod
I see Warning Failed 11s kubelet Failed to pull image "falcon-pod-gateway:latest": rpc error: code = Unknown desc = Error response from daemon: pull access denied for falcon-pod-gateway, repository does not exist or may require 'docker login': denied: requested access to the resource is denied Warning Failed 11s kubelet Error: ErrImagePull
I don't remember what error I was getting before I updated to 1.9
Before 2 out of my 3 containers built in RD and now none are
f
I don't see the image on Docker Hub: https://hub.docker.com/search?q=falcon-pod-gateway Did you build it locally?
g
yes
f
If you you are using the image in Kubernetes, you must either use a different tag than
latest
, or specify
ImagePullPolicy: never
.
The default policy for the
latest
tag is
always
, so it will attempt to download a newer version from the registry, even if it already exists locally.
Are you using moby or containerd? Can you see the image when you run
docker images
or
nerdctl -n <http://k8s.io|k8s.io> images
?
g
I just reset it to back to defaults
I usually see the images when I check
docker images
oops not seeing them, I'll build them again and post the error after
sorry I've deleted and rebuilt and restarted or reset so many time 😅 I lost track
f
Well, the error message above doesn't include a tag in your image name, which means it defaults to latest. So did you specify the imagepullpolicy in your pod spec?
As I wrote above, I don't see how it could have worked without that
g
I'm not sure, where do I specify imagepullpolicy?
f
In your pod spec, where you specify the image.
g
gotcha, it's currently set to
IfNotPresent
I'll switch it to never and try it again once I finish rebuilding my images
f
IfNotPreset
should have worked too, so this means the image did not exist at the time that error was thrown.
It is just the
Always
default that doesn't work
201 Views