Just a note as it was not easy to find documentation on this in Rancher Desktop / Kubernertes docs. Ended up following some dead ends.
If you want to point to foo.internal.images for your images you can try this:
kubectl create secret docker-registry yourcred -n your-namespace
–docker-server=foo.internal.images
–docker-username=
–docker-password=
–docker-email=
then configure your pods to use the pull secret
Also for some reason I think I may have had to do docker login foo.internal.images to get it to work.