Configure an external in-memory cache (Helm)
For CARTO Self-hosted using Kubernetes and Helm
Last updated
Was this helpful?
For CARTO Self-hosted using Kubernetes and Helm
Last updated
Was this helpful?
CARTO Self-Hosted requires Redis (version 6 or above) to work. This Redis instance does not need persistence, as it is used solely as a cache.
Both and come already with an internal Redis deployment, but they lack any backups, autoscaling, or monitoring. Cloud vendors already offer Redis deployments at scale as a service:
.
.
.
In this section, you will see how to configure the Self-hosted to use an external Redis provided by your cloud vendor.
Add the secret:
Configure the package:
Add the following lines to your customizations.yaml to connect to the external Redis:
By default, CARTO will try to connect to your Redis without TLS enabled. In case you want to connect via TLS, you can configure it via the externalRedis.tlsEnabled
parameter.