|If your applications are in the same project, you may find it easier to mount an extra persistent volume temporarily in the source pod. Access the pod using 'oc rsh' and copy the files into that persistent volume and then detach it from that pod. Then mount the persistent volume into the target pod and use as is, or copy into the target pod persistent volume and then detach and delete the temporary persistent volume.|
We recently published a scenario in our interactive learning portal for OpenShift about transferring files in and out of an application. We didn't specifically cover moving files between pods, but mounting pods against a temporary application to pre-load data into a persistent volume was covered. What I suggest as a bit of a variation on that.
You can see the scenario at:
It was called:
Transferring Files in and out of Containers