<p>I have a PHP container, I am getting my media from an S3 bucket but resizing them locally and then the container uses them from local. I don't care about persistence or about sharing between containers, but there is a fair amount of I/O. Do I need an emptydir volume or am I ok just creating the files inside the container... basically I'm asking does a volume do anything apart from adding persistence and shareability.</p>

<p>A Persistent Volume is a way to have data persisted even when the container is disposed, e.g. terminated and replaced by a new version.</p>
<p>An EmptyDir volume might work for you, in some configurations it is using the memory of the Pod instead of disk.</p>
<p>What choice you do, depend on your requirements.</p>
