Skip to content

Limit number, memory and cpu of services container for docker runners

The Contributor Success team is helping finish abandoned MRs from the broader ecosystem. This MR finalizes !1834 (closed). For more information, see the description and review history at the original MR.

This MR adds CPU and Memory limitations to service. It also adds a maximum number of services per job.

Why was this MR needed?

Currently, the GitLab Runner user, launches multiple Java services per job, which exhaust all runner resources. We need to cold reboot runner to recover it.

Merge request reports

Loading