GitLab CI: end of runner crashes
Docker runners on shared hosts, pipelines saturating CPU 8–9 times a week, and runner crashes that needed manual restarts. That was the starting point.
Before
- Docker executor runners on shared hosts
- CPU saturation 8–9 times a week
- Runner crashes and manual restarts
- Job slowdowns felt every day
- cgroups limits don't isolate workloads
After
- Kubernetes executor on an RKE2 cluster
- ResourceQuota per project
- shell-operator assigns limits per service
- 0 runner crashes per month
- 40–60% faster pipelines
Project walkthrough
The environment had 200 vCPU and 320 GB RAM. What it lacked was isolation: CI jobs shared hosts without real limits, so one heavy pipeline could starve all the others and take a runner down.
We moved job execution to the Kubernetes executor: each job gets its own pod with explicit CPU/RAM requests and limits. A ResourceQuota per project makes sure no team can eat the whole cluster, and shell-operator assigns limits per service automatically, so nobody has to add them by hand in every repository.
The Kubernetes scheduler packs jobs more densely and more safely than a static split across hosts. Pipelines got 40–60% faster, and runner crashes dropped to zero per month.
Technical version of this case study on the blog →
Is your CI choking during peak hours?
We'll show you how to fix it. The first consultation is free.
Free consultation →