Skip to content

Add SizeLimit option to emptyDir volumes for Kubernetes executor

Andreas Hauser requested to merge ah_v/gitlab-runner: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?

#29481 (closed)

Merge request reports