Migrate ops.gitlab.net Redis to Memorystore
ops.gitlab.net
is currently using a Redis pod with no HA:
❯ k -n gitlab get pod -l app.kubernetes.io/name=redis
NAME READY STATUS RESTARTS AGE
ops-gitlab-redis-master-0 2/2 Running 0 41m
Which causes some downtime when the pod restarts: production#18040 (closed)
We could update the deployment to add replicas etc., but that would be more maintenance work for us that we could do without. Or we could move to Memorystore and let GCP manage Redis for us.
Scope:
- Setup Memorystore instance
- Check if Redis data needs to be copied to the new instance
- Update
ops.gitlab.net
to use the Memorystore instance - Disable the Redis deployment in the
ops.gitlab.net
GitLab chart\ - Update our monitoring for the Memorystore instance