GitLab
GitLab logoGitLab · Feature trail

GitLab Serverless

2 posts · Jan 2018 – May 2026

What this trail covers

GitLab is decomposing its monolithic PostgreSQL database into independent databases, starting with the separation of CI-related data. This involved extensive planning, proof-of-concept work, and the development of tools and documentation to manage cross-database dependencies, such as cross-join detection, cross-database transaction detection, and loose foreign keys. The project leveraged Rails' multi-database support and addressed challenges like mirroring data. This post details a major version of this decomposition, specifically the general availability of Gitaly on Kubernetes, allowing for a fully Kubernetes-native GitLab deployment and consolidation of infrastructure by moving Gitaly into the cluster. This eliminates the need to maintain and monitor a separate VM fleet alongside Kubernetes nodes.

All GitLab trails