I have a Deployment that runs one container with a root user. It's perfectly clear that everything my application saves under /data will be ephemeral if I don't have any type of persistent volume and volumeMounts defined.
My question is what would be the purpose of specifying an emptyDir Volume and mounting it to /data? If I don't use fancy features for emptyDir like medium or sizeLimit isn't it the same as using no volumes at all?