Openshift: How to access the file that is in the external file system?

11/19/2019

I am using minishift for deploying my java apllication.

App deployed successfully, but this app need to read/write from some files that are on drive C on my Windows.

I can't just place this files inside container, files should only be in this folder on drive C.

Is there any ways to do it?

-- Sasha Korkin
kubernetes
openshift

1 Answer

11/19/2019

You will need to create what is known as host filesystem access/share. More information can be found at the following link https://docs.okd.io/latest/minishift/using/host-folders.html

-- Dylan
Source: StackOverflow