Persistent volume replicated throughout worker nodes

I have a rancher 2 setup with 2 worker nodes.

I have an app whose pods live in those 2 worker nodes, and they require files to work.

I would like these files to reside in a persistent volume that would be replicated between the 2 worker nodes, with each of the pods accessing the files from the volume in its worker node.

Is there a way to achieve this in rancher?

I tried using openEBS and Longhorn, but I could not get the apps to launch in rancher, and from the research I did, apparently this is not supported.

Can this be done, and if so, how? Or am I approaching this in the wrong way?

I suggest looking into Rook. I am currently using the ceph part for our storage needs. Now you will have to use Kubectl for this, but it isn’t too hard!