> On 27 Mar 2018, at 9:34 am, Jamie Jackson <
jamie...@gmail.com> wrote:
>
> Part of the stack I'm containerizing accesses remote storage via autofs/sshfs (autofs for resilience of the connection). Is there an OpenShift way to handle this?
Just to clarify, are you saying the application acts as a client, to access a remote file system mounted into the local file system via autofs/sshfs, or are you saying you need to expose the file system of the container externally to external clients via sshfs?
If the first, I suspect the answer is no. At least you can't do it at the user level as mounting of file systems is handled by lower levels of Kubernetes. Am not aware of any support in Kubernetes for using sshfs as a means of mounting in a persistent volume.
If the second, the problem is that there is no sshd running in the container so you can't terminate a ssh connection.
Graham