[META] Run Registry separately from the rest of the fleet
Part of https://gitlab.com/gitlab-org/omnibus-gitlab/issues/2441
TODO:
- Create the
staging-base-lb-be
,staging-base-be
andstaging-base-be-registry
roles. - Wire up api*.stg.gitlab.com to the internal lb and create a DNS record to point to the VIP.
- Install the registry certificate on the load balancer to terminate the TLS session.
- Create a sensible configuration to put in the gitlab-staging-be-registry role.
- Roll it out to staging
- Staging: Test!
- Create a project, and push a image to the project
- Pull an image from GitLab
- Monitor the logs for errors/warnings
- Consider inviting CI/CD team to do their own testing, with the CI. Consider inviting Support team too because they can stress test as well
- If tests look good, roll out to production!
Steps to containerise the service:
- Staging: If all is ok in production, try using the official Registry container and configure it on a node. Doesn’t have to be cheffed -> Do this together with Build
- Staging: Do another round of testing while using the containers.
- Staging: Setup working K8S cluster for Registry
- Staging: Test whether it works
- Production: Roll out