Consolidate your GitLab stack ... Note
GitLab

Consolidate your GitLab stack with Gitaly on Kubernetes

Gitaly on Kubernetes is now generally available in GitLab 18.11, simplifying deployments for teams. Previously, running Gitaly on VMs alongside Kubernetes components created operational challenges. This new release offers a fully supported solution, enabling consolidation within a Kubernetes environment. Gitaly's resource-intensive nature required specific Kubernetes configurations, like cgroup usage to prevent OOM errors. Mounting /sys/fs/cgroup via an init container was crucial for containing Git processes. Pod restarts presented a challenge, prompting the implementation of configurable client retries. Benchmarks comparing VM-based and Kubernetes-based Gitaly showed minimal performance differences, with mostly successful operations even during upgrades. These results demonstrate Kubernetes' resilience despite the abrupt restart processes. Gitaly on Kubernetes benefits existing users by eliminating hybrid infrastructure and streamlines new deployments for Kubernetes users. Deployment is recommended through the GitLab Helm chart, with documentation provided for both comprehensive and external Gitaly setups.