grafana/mimir

Unable to configure memcached container resources

Open

#9,737 opened on Oct 25, 2024

View on GitHub
 (6 comments) (0 reactions) (0 assignees)Go (808 forks)auto 404
enhancementgood first issuehelm

Repository metrics

Stars
 (5,181 stars)
PR merge metrics
 (PR metrics pending)

Description

Describe the bug

Seemingly impossible to set values in the mimir-distributed chart to set the memory and CPU requests of the various memcached caches that mimir makes use of (chunks, results, etc). No matter the configuration, the caches always use 500m CPU.

To Reproduce

Setting chunks_chache.resources.requests with something like

  resources:
    requests:
      cpu: 100m

I also tried doing the same in memcached.resources.requests to no avail.

Expected behavior

I expected the caches (for example the chunks cache) to use the requests that I provided. Instead, the caches always reserve 500m CPU, no matter what I set.

Environment

  • Infrastructure: RKE2 running on EC2s, managed by Rancher.
  • Deployment tool: Helm

Contributor guide