<p>Is it possible to mount a Persistent Volume Claim on the path of a volume mount. Here is an example of a deployment with said configuration:</p>
<pre><code>      volumes:
        - name: tmp
          emptyDir: {}
        - name: pvc
          persistentVolumeClaim:
            claimName: pvc-claim-name

          volumeMounts:
            - name: tmp
              mountPath: /tmp
            - name: pvc
              mountPath: /tmp/pvc
</code></pre>
<p>Would the PVC be deleted when the mounted <code>tmp</code> volume is deleted with the container?</p>
<p>Will the PVC remain after being deployed to within a mounted volume, which will be deleted with the container?</p>

Opening-Range-1162
<p>Yes, you can do that.</p>
<p>When the <strong>POD</strong> (probably you was mentioning the pod, not the container) will be deleted, nothing will happen because the Deployment will re-deploy another pod to meet the replicas requirement.</p>
<p>When the <strong>Deployment</strong> will be deleted the PVC will remain as well as your data will remain in your filesystem.</p>
<p>To remove the <strong>PVC</strong>, you need to specifically delete the it:</p>
<pre><code>kubectl delete pvc pvc-name
</code></pre>
<p>but your data persist into the filesystem after the PVC deletion.</p>
<p>Please, refer to <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/" rel="nofollow noreferrer">this page</a> for more information.</p>
