Drone 1.0 on Helm - No space left on device


I’m using stable/drone helm chart with persistent volume claim on Google Kubernetes Engine.
In pipelines I build rails docker image and push to repository.
It does work until I somewhat ran out of the space and it cannot build anything.
Does it have some way to clean up the space? I’m quite new on k8s’ PVC though.


I have to set persistence: false in helm chart for now

Edit: This does not work as well.


I’ve inspected further and found that /drone/src is slowly filling up the space in Drone agent workspace

I’ve tried adding a step with rm -rf /drone/src/* but it does not work.