<p>So I'm basically looking for anyone that can point me in the right direction for setting up Kubernetes to perform a common computation on many work items where each work item is a separate file.</p>

<p>I have been reading the documentation <a href="https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/" rel="nofollow noreferrer">here</a>, and it seems to suggest that it is possible, the examples are shown with queues of words and simply printing the words, however, I am having trouble with persistent volumes.</p>

<p>What I need to end up with is a deployment that will take a large file containing data points and split it into several files. <strong>I then want to have a Job object execute several pods, one on each file, performing the computation before passing the files back to the deployment for post-processing.</strong></p>

<p>I am having trouble finding out how to go about transferring the files, from what I read it seems that a PersistentVolume cannot be bound to more than one pod at once. <strong>So how do I go about passing a file to a single pod in a Job?</strong></p>

<p>Any suggestions or general direction would be greatly appreciated.</p>

<blockquote>
  <p>PersistentVolume cannot be bound to more than one pod at once.</p>
</blockquote>

<p>Whether a PV is shared among Nodes/Pods (or not) is determined by the <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes" rel="nofollow noreferrer">accessMode</a>; it's not the case that all PVs are universally bound to just one Node/Pod</p>

<p>As the chart on that page shows, there are many PV technologies that tolerate <code>ReadWriteMany</code>, with the most famous of them being NFS</p>
