When building loki with helm, `Failed to inspect image "prom/memcached-exporter:v0.14.2"` error occurs

I am configuring loki on my on-premises k8s cluster by referring to the official documentation (Install the microservice Helm chart | Grafana Loki documentation).

However, during helm install, an issue occurred where some pods did not start and were stuck in Pending and ImageInspectError states.

For example, loki-chunks-cache-0 gave the following error:

  Type     Reason         Age                    From               Message
  ----     ------         ----                   ----               -------
  Normal   Scheduled      8m17s                  default-scheduler  Successfully assigned loki/loki-chunks-cache-0 to myyrakle
  Warning  Failed         7m36s (x6 over 8m17s)  kubelet            Error: ImageInspectError
  Warning  InspectFailed  7m36s (x6 over 8m17s)  kubelet            Failed to inspect image "prom/memcached-exporter:v0.14.2": rpc error: code = Unknown desc = short-name "prom/memcached-exporter:v0.14.2" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"
  Warning  Failed         7m36s (x6 over 8m17s)  kubelet            Error: ImageInspectError
  Warning  InspectFailed  3m6s (x27 over 8m17s)  kubelet            Failed to inspect image "memcached:1.6.23-alpine": rpc error: code = Unknown desc = short-name "memcached:1.6.23-alpine" did not resolve to an alias and no unqualified-search registries are defined in "/etc/containers/registries.conf"

Other pods fetch images well and run, but why do some pods not work?

Hi @myyrakle,
I believe these pods are failing due to a missing memcache deployment. This section in the docs should be able to help you out. I will update the docs to reference this page: Caching | Grafana Loki documentation