Skip to content

Add SizeLimit option to emptyDir volumes for Kubernetes executor

Andreas Hauser requested to merge k8s-emptydir-sizelimit into main

What does this MR do?

Adds support for the key sizeLimit to emptyDir volumes for Kubernetes executors

Why was this MR needed?

To support a sizeLimit when using emptyDir volumes. This can prevent OOM on nodes running jobs with emptyDir and medium: Memory.

What's the best way to test this MR?

There are existing tests in the pipeline

What are the relevant issue numbers?

gitlab-org/gitlab-runner#29481 (closed)

Edited by Andreas Hauser

Merge request reports