Where data are stored which need a web service in OpenShift 3
? Anyway how can I browser file system?
Asked
Active
Viewed 815 times
2

János
- 32,867
- 38
- 193
- 353
1 Answers
3
In OpenShift 3 there is no persistent storage provided by default. You will need to claim a persistent volume and then mount it at whatever directory you desire in the container for your application.
To view the contents of the directory, use oc rsh
or the terminal window for a pod in the web console to get shell access, Then change to the directory to look in the directory.
To transfer files into the persistent volume, you can use the oc rsync
command.
You can find a tutorial on transferring files in and out of container at https://learn.openshift.com

Graham Dumpleton
- 57,726
- 6
- 119
- 134
-
I tried to use rsync in windows 10 but it is not possible to push files from local or vice versa. – Sahin Yanlık Apr 10 '19 at 11:35