Drone pods evicted, build hanging - No Ephemeral Storage

Kubectl describe:

Warning  Evicted    2m20s                  kubelet, <URL> The node was low on resource: ephemeral-storage. Container drone-zwvjr5rd6rqgxrwn7zmg was using 16Ki, which exceeds its request of 0. Container drone-ouempo61zyp1g8k3mhe5 was using 16Ki, which exceeds its request of 0. Container drone-o2mv1pexueq2p5df8bn8 was using 52Ki, which exceeds its request of 0.

.drone.yml

 steps:
 - name: build
 image: plugins/docker
 resources:
   limits:
     ephemeral-storage: "1Gi"
   requests:
     ephemeral-storage: "500Mi"
settings:

I am seeing this when executing one specific build. Despite the flags included above the pods still get evicted because they requested 0KiB of ephemeral storage.

The .drone.yml file does not implement the ephemeral-limits attribute, so using this attribute does not have any effect.

That, makes sense. Since making this post I have found I have some WAY bigger issues with the cluster. Thanks for the reply

EDIT: my nodes were woefully low on total storage but by the time I did a df -h the pods had evicted and cleaned up after themselves

I’d like to +1 the request that drone kubernetes pipelines support ephemeral storage limits. I’m seeing similar evictions, when I’d rather my autoscaler to spin up a new node.

Status:       Failed                                                                                                                                                                          
Reason:       Evicted  
Message:      The node was low on resource: ephemeral-storage. Container drone-4ig7p4tf79bebcqfw0x9 was using 2204Ki, which exceeds its request of 0. Container drone-rv43li9h56l51t5j128p was using 224Ki, which exceeds its request of 0.