<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configure Grafana Mimir Helm chart on Grafana Labs</title><link>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/</link><description>Recent content in Configure Grafana Mimir Helm chart on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/helm-charts/mimir-distributed/v5.5.x/configure/index.xml" rel="self" type="application/rss+xml"/><item><title>Configure Grafana Enterprise Metrics</title><link>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-grafana-enterprise-metrics/</link><pubDate>Tue, 15 Oct 2024 13:19:10 +0000</pubDate><guid>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-grafana-enterprise-metrics/</guid><content><![CDATA[&lt;h1 id=&#34;configure-grafana-enterprise-metrics&#34;&gt;Configure Grafana Enterprise Metrics&lt;/h1&gt;
&lt;p&gt;From the Grafana Helm chart point of view, the main differences between Grafana Mimir and Grafana Enterprise Metrics (GEM) are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;GEM requires a valid license.&lt;/li&gt;
&lt;li&gt;Instead of using NGINX as the router of requests to internal components, GEM deploys its own enterprise gateway component that authenticates and routes requests.&lt;/li&gt;
&lt;li&gt;More mandatory and optional components are available, such as the admin API and various proxies.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Follow the instructions and 
    &lt;a href=&#34;/docs/enterprise-metrics/v2.14.x/setup/#choose-a-name-for-your-gem-cluster&#34;&gt;Choose a name for your GEM cluster&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is recommended, but not required to use the same name as the Helm release. For example if the cluster name is &lt;code&gt;mygem&lt;/code&gt;, you&amp;rsquo;d install the chart with &lt;code&gt;helm install mygem grafana/mimir-distributed&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Follow the instruction in 
    &lt;a href=&#34;/docs/enterprise-metrics/v2.14.x/setup/#get-a-gem-license&#34;&gt;Get a GEM license&lt;/a&gt; to acquire a license.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;handling-the-license-file&#34;&gt;Handling the license file&lt;/h2&gt;
&lt;p&gt;There are two options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Provide the license as a value for the &lt;code&gt;license.contents&lt;/code&gt; Helm value.&lt;/p&gt;
&lt;p&gt;Either on the command line for the &lt;code&gt;helm&lt;/code&gt; command as &lt;code&gt;--set-file &#39;license.contents=./license.jwt&#39;&lt;/code&gt; or by writing the contents into your custom values:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;license:
  contents: &amp;#34;iyJhbGci...&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Store the license in a Kubernetes &lt;a href=&#34;https://kubernetes.io/docs/concepts/configuration/secret/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Secret&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In this case use the following custom values:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;license:
  external: true
  secretName: &amp;lt;name-of-your-secret&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;enable-gem-in-the-configuration&#34;&gt;Enable GEM in the configuration&lt;/h2&gt;
&lt;p&gt;Add the following value to your custom values:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;enterprise:
  enabled: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;If you want to use a different cluster name for the license and a different Helm release name on the command line, also set:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;mimir:
  structuredConfig:
    cluster_name: &amp;lt;cluster-name-in-license&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="configure-grafana-enterprise-metrics">Configure Grafana Enterprise Metrics&lt;/h1>
&lt;p>From the Grafana Helm chart point of view, the main differences between Grafana Mimir and Grafana Enterprise Metrics (GEM) are:&lt;/p>
&lt;ul>
&lt;li>GEM requires a valid license.&lt;/li>
&lt;li>Instead of using NGINX as the router of requests to internal components, GEM deploys its own enterprise gateway component that authenticates and routes requests.&lt;/li>
&lt;li>More mandatory and optional components are available, such as the admin API and various proxies.&lt;/li>
&lt;/ul>
&lt;h2 id="before-you-begin">Before you begin&lt;/h2>
&lt;ul>
&lt;li>
&lt;p>Follow the instructions and
&lt;a href="/docs/enterprise-metrics/v2.14.x/setup/#choose-a-name-for-your-gem-cluster">Choose a name for your GEM cluster&lt;/a>.&lt;/p></description></item><item><title>Configure Grafana Mimir to allow Vault Agent to inject certificates and keys into Pods</title><link>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-hashicorp-vault-agent/</link><pubDate>Tue, 15 Oct 2024 13:19:10 +0000</pubDate><guid>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-hashicorp-vault-agent/</guid><content><![CDATA[&lt;h1 id=&#34;configure-grafana-mimir-to-allow-vault-agent-to-inject-certificates-and-keys-into-pods&#34;&gt;Configure Grafana Mimir to allow Vault Agent to inject certificates and keys into Pods&lt;/h1&gt;
&lt;p&gt;When you enable this feature, Helm updates the annotations on all Pods that have TLS (transport layer security) configurable components.
When you deploy Mimir or GEM, Vault Agent fetches the relevant secrets from Vault according to the annotations and mounts them to the Pod.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; Vault and Vault Agent must to be running already.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Example &lt;code&gt;values.yaml&lt;/code&gt; file:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;vaultAgent:
  enabled: true
  roleName: &amp;#34;test-role&amp;#34;
  clientCertPath: &amp;#34;client/cert/path&amp;#34;
  clientKeyPath: &amp;#34;client/key/path&amp;#34;
  serverCertPath: &amp;#34;server/cert/path&amp;#34;
  serverKeyPath: &amp;#34;server/key/path&amp;#34;
  caCertPath: &amp;#34;ca/cert/path&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Generated Kubernetes Deployment YAML file based on the preceding example:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: apps/v1
kind: Deployment
metadata:
  name: release-name
  labels:
    helm.sh/chart: mimir-release-1.2.3
    app.kubernetes.io/name: mimir
    app.kubernetes.io/instance: release-name
    app.kubernetes.io/component: comonent-name
    app.kubernetes.io/version: &amp;#34;123&amp;#34;
    app.kubernetes.io/managed-by: Helm
  annotations: {}
  namespace: &amp;#34;default&amp;#34;
spec:
  replicas: 1
  selector:
    matchLabels:
      app.kubernetes.io/name: mimir
      app.kubernetes.io/instance: release-name
      app.kubernetes.io/component: component-name
  strategy:
    type: RollingUpdate
  template:
    metadata:
      annotations:
        vault.hashicorp.com/agent-inject: &amp;#34;true&amp;#34;
        vault.hashicorp.com/role: &amp;#34;test-role&amp;#34;
        vault.hashicorp.com/agent-inject-secret-client.crt: &amp;#34;client/cert/path&amp;#34;
        vault.hashicorp.com/agent-inject-secret-client.key: &amp;#34;client/key/path&amp;#34;
        vault.hashicorp.com/agent-inject-secret-server.crt: &amp;#34;server/cert/path&amp;#34;
        vault.hashicorp.com/agent-inject-secret-server.key: &amp;#34;server/key/path&amp;#34;
        vault.hashicorp.com/agent-inject-secret-root.crt: &amp;#34;ca/cert/path&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code&gt;vault.hashicorp.com/agent-inject-secret-&amp;lt;FILENAME&amp;gt;: &#39;&amp;lt;PATH&amp;gt;&#39;&lt;/code&gt; tells Vault Agent where to find the secret, and the name of the file to write the secret to. For example: &lt;code&gt;vault.hashicorp.com/agent-inject-secret-client.crt: &#39;client/cert/path&#39;&lt;/code&gt; will look for the secret at the path &lt;code&gt;client/cert/path&lt;/code&gt; within Vault, and mount this secret to the pod as &lt;code&gt;client.crt&lt;/code&gt; in the &lt;code&gt;/vault/secrets/&lt;/code&gt; directory.&lt;/p&gt;
&lt;p&gt;For more information about Vault and Vault Agent, see &lt;a href=&#34;https://www.hashicorp.com/blog/injecting-vault-secrets-into-kubernetes-pods-via-a-sidecar&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Injecting Vault Secrets Into Kubernetes Pods via a Sidecar&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To configure TLS in Mimir, refer to 
    &lt;a href=&#34;/docs/mimir/v2.14.x/manage/secure/securing-communications-with-tls/&#34;&gt;Securing Grafana Mimir communications with TLS&lt;/a&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="configure-grafana-mimir-to-allow-vault-agent-to-inject-certificates-and-keys-into-pods">Configure Grafana Mimir to allow Vault Agent to inject certificates and keys into Pods&lt;/h1>
&lt;p>When you enable this feature, Helm updates the annotations on all Pods that have TLS (transport layer security) configurable components.
When you deploy Mimir or GEM, Vault Agent fetches the relevant secrets from Vault according to the annotations and mounts them to the Pod.&lt;/p></description></item><item><title>Configure native histograms</title><link>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-native-histograms-ingestion/</link><pubDate>Tue, 15 Oct 2024 13:19:10 +0000</pubDate><guid>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-native-histograms-ingestion/</guid><content><![CDATA[&lt;h1 id=&#34;configure-native-histograms&#34;&gt;Configure native histograms&lt;/h1&gt;
&lt;p&gt;To enable support for ingesting Prometheus native histograms over the 
    &lt;a href=&#34;/docs/mimir/v2.14.x/references/http-api/#remote-write&#34;&gt;remote write API&lt;/a&gt; endpoint, set the configuration parameter &lt;code&gt;native_histograms_ingestion_enabled&lt;/code&gt; to true.&lt;/p&gt;
&lt;p&gt;To enable support for querying native histograms together with 
    &lt;a href=&#34;/docs/mimir/v2.14.x/references/architecture/query-sharding/&#34;&gt;Grafana Mimir query sharding&lt;/a&gt;, set the configuration parameter &lt;code&gt;query_result_response_format&lt;/code&gt; to &lt;code&gt;protobuf&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Example values file:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;mimir:
  structuredConfig:
    frontend:
      query_result_response_format: protobuf
    limits:
      native_histograms_ingestion_enabled: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Native histograms is an experimental feature of Grafana Mimir.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;To configure bucket limits for native histograms, refer to 
    &lt;a href=&#34;/docs/mimir/v2.14.x/configure/configure-native-histograms-ingestion/&#34;&gt;Configure native histograms&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To configure Grafana Agent or Prometheus to write native histograms to Grafana Mimir, refer to 
    &lt;a href=&#34;/docs/mimir/v2.14.x/send/native-histograms/&#34;&gt;Send native histograms to Mimir&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To visualize native histograms in Mimir, refer to 
    &lt;a href=&#34;/docs/mimir/v2.14.x/visualize/native-histograms/&#34;&gt;Visualize native histograms&lt;/a&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="configure-native-histograms">Configure native histograms&lt;/h1>
&lt;p>To enable support for ingesting Prometheus native histograms over the
&lt;a href="/docs/mimir/v2.14.x/references/http-api/#remote-write">remote write API&lt;/a> endpoint, set the configuration parameter &lt;code>native_histograms_ingestion_enabled&lt;/code> to true.&lt;/p>
&lt;p>To enable support for querying native histograms together with
&lt;a href="/docs/mimir/v2.14.x/references/architecture/query-sharding/">Grafana Mimir query sharding&lt;/a>, set the configuration parameter &lt;code>query_result_response_format&lt;/code> to &lt;code>protobuf&lt;/code>.&lt;/p></description></item><item><title>Configure Redis cache</title><link>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-redis-cache/</link><pubDate>Mon, 21 Oct 2024 23:08:03 +0000</pubDate><guid>https://grafana.com/docs/helm-charts/mimir-distributed/v5.5.x/configure/configure-redis-cache/</guid><content><![CDATA[&lt;h1 id=&#34;configure-redis-cache&#34;&gt;Configure Redis cache&lt;/h1&gt;


&lt;div class=&#34;admonition admonition-caution&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Caution&lt;/p&gt;&lt;p&gt;Starting with Mimir version 2.14, the experimental support for Redis caching is deprecated. It will be removed in a future release. You are encouraged to switch to Memcached.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;Besides support for Memcached, Mimir also supports Redis for the chunks-cache, index-cache, results-cache and metadata-cache. To use Redis, deploy Redis instances, disable the built-in Memcached configuration flag in values.yaml of &lt;code&gt;mimir-distributed&lt;/code&gt; Helm chart, and then configure Mimir to use Redis.&lt;/p&gt;
&lt;p&gt;To disable Memcached, remove any &lt;code&gt;chunks-cache&lt;/code&gt;, &lt;code&gt;index-cache&lt;/code&gt;, &lt;code&gt;metadata-cache&lt;/code&gt; and &lt;code&gt;results-cache&lt;/code&gt; configuration from your Helm &lt;code&gt;values.yaml&lt;/code&gt; file. Alternatively, explicitly disable each of the Memcached instances by setting &lt;code&gt;enabled&lt;/code&gt; to &lt;code&gt;false&lt;/code&gt;:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;chunks-cache:
  enabled: false
index-cache:
  enabled: false
metadata-cache:
  enabled: false
results-cache:
  enabled: false&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Next, configure Mimir to connect to Redis using &lt;code&gt;structuredConfig&lt;/code&gt;. Refer to 
    &lt;a href=&#34;/docs/mimir/v2.14.x/configure/configuration-parameters/#redis&#34;&gt;the configuration parameters reference&lt;/a&gt; for Redis connection configuration options. For example:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;mimir:
  structuredConfig:
    blocks_storage:
      bucket_store:
        chunks_cache:
          backend: redis
          redis:
            endpoint: &amp;lt;redis-url&amp;gt;:6379
        index_cache:
          backend: redis
          redis:
            endpoint: &amp;lt;redis-url&amp;gt;:6379
        metadata_cache:
          backend: redis
          redis:
            endpoint: &amp;lt;redis-url&amp;gt;:6379
    frontend:
      cache_results: true
      results_cache:
        backend: redis
        redis:
          endpoint: &amp;lt;redis-url&amp;gt;:6379&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="configure-redis-cache">Configure Redis cache&lt;/h1>
&lt;div class="admonition admonition-caution">&lt;blockquote>&lt;p class="title text-uppercase">Caution&lt;/p>&lt;p>Starting with Mimir version 2.14, the experimental support for Redis caching is deprecated. It will be removed in a future release. You are encouraged to switch to Memcached.&lt;/p></description></item></channel></rss>