Kubernetes and mongo, PV, PVC

Solution 1:

All I had to do is to change the path of hostPath in each PV. the same path will make the app to faill.

pv1:

 hostPath:
    path: "/path/x1"

pv2:

 hostPath:
        path: "/path/x2"

like so.. just not the same path.