Create reconfigure script for gitlab-redis cookbook deployments
For Redis deployed using the gitlab-redis
cookbook, we need a reconfigure script to help use perform failovers and restarts.
There are 2 ways to go about this
- Adapt the existing reconfigure script
- Add helper scripts into the cookbook that we can easily trigger using a runbook script. i.e. move the complexity into the cookbook.
For omnibus-gitlab redis, we have https://gitlab.com/gitlab-com/runbooks/-/blob/master/scripts/redis-reconfigure.sh while for redis-cluster deployments, we have https://gitlab.com/gitlab-com/runbooks/-/blob/master/scripts/redis-cluster-reconfigure.sh
Edited by Sylvester Chin