Configuring Redis for scaling
Based on your infrastructure setup and how you have installed GitLab, there are multiple ways to configure Redis.
You can choose to install and manage Redis and Sentinel yourself, use a hosted cloud solution, or you can use the ones that come bundled with the Omnibus GitLab packages so you only need to focus on configuration. Pick the one that suits your needs.
Redis replication and failover using Omnibus GitLab
This setup is for when you have installed GitLab using the Omnibus GitLab Enterprise Edition (EE) package.
Both Redis and Sentinel are bundled in the package, so you can it to set up the whole Redis infrastructure (primary, replica and sentinel).
Redis replication and failover using the non-bundled Redis
Standalone Redis using Omnibus GitLab
This setup is for when you have installed the Omnibus GitLab Community Edition (CE) package to use the bundled Redis, so you can use the package with only the Redis service enabled.