Implement cookbook to manage Redis Cluster
- We may derive this from the existing chef recipe.
- However, since our current recipe manages
redis.confindirectly throughgitlab.rb, it may be simpler to write a new recipe that directly managesredis.conf. Doing so would change (simplify) the way we currently manage redis instances and would let us skip the overhead of having to update omnibus to add more pass-through configuration settings forgitlab-ctl reconfigureto copy fromgitlab.rbtoredis.conf. - While omnibus already ships with such a binary, it's Redis 6.2. We want Redis 7.0, as it includes many improvements related to Redis Cluster. Thus, it may make sense to build our own packages.
- Whichever approach we choose, this task should give us a chef recipe for creating redis-cluster nodes.
Result
New cookbook is available at gitlab-redis-cluster.
Edited by Igor