(Garden engineer here)
You can take a look at the container module type guide to get a feel for how we reason with volumes.
We have a persistentVolumeClaim module type which can used by container modules and that essentially creates a k8s pvc.
See more: https://docs.garden.io/guides/container-modules#mounting-vol...