Add repo prefix to cache images, to not confuse containerd/crio #9131
Labels
co/runtime/containerd
co/runtime/crio
CRIO related issues
kind/feature
Categorizes issue or PR as related to a new feature.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
In the list of bootstrapper images to cache, some do not have their repo added:
This confuses podman (loading for crio), which tries to add a "localhost/" prefix to it.
This is only when not using the preload, since using "pull" does add the repo prefix.
Currently we hack around the issue, by adding "docker.io" to images after the fact...
But they are still stored with the relative path name, in for instance the image cache.
So it would be best to use the proper names, since docker doesn't care either way:
But it does make a difference for container runtimes without a hardcoded registry...
Would be nice to avoid it, to support using local images (without adding localhost/)
Currently there is a problem, that CRI is not able to find images in the cache: #8554
And we don't want to involve the kubernetes dashboard and metrics-scraper in that.
The text was updated successfully, but these errors were encountered: