Integrate Redis Cluster into GDK
Having a working Redis Cluster in GDK will enable developers to iterate locally without having an external script.
Constraints
- Redis Cluster uses 1 db per server (db 0 by default), this means we have to create several redis processes (minimally 3 masters)
- Creation of cluster needs to be triggered by
gdk
Working ideas
- Add a new
GDK::Services::RedisClusterwithcommandtriggering a script insupportfolder that spawns and setup a working cluster (creates 3 servers and runcluster-start)
Proposed end-state
As &878 concludes, the wider Gitlab teams should be able to develop locally against a Redis Cluster for rate-limiting and cache. This can be achieved via gdk changes. We will probably need to update the container This prevents non-Redis-Cluster compatible usage from being introduced.
Edited by Sylvester Chin