Set k8s runner ephemeral storage requests and limits
requested to merge dimm/gitlab-runner:6184-set-kubernetes-runner-ephemeral-storage-resources into master
What does this MR do?
Adds ability to specify kubernetes runner ephemeral storage requests and limits
Why was this MR needed?
Runner pod might be killed if a node is low on ephemeral storage. Requesting it allows scheduling on a right node. Limiting prevents filling the node's local storage.
What's the best way to test this MR?
Set the ephemeral storage request and limit, check it's set properly in the runner pod (kubectl get pod ... -o yaml
, check spec/containers[...]/resources section)
What are the relevant issue numbers?
Closes #6184 (closed)