<p>We are migrating some windows components (.net 4.5) to Linux containers (.net core). Existing system is a file processor, which watches a shared location and processes file from there. We can't force existing system to start dropping file at some other location, so new containerised application has to access from same shared location. Can a windows share be seen from docker containers? If yes, then how can I use Kubernete deployment file to achieve it?
Please advise.
Regards,</p>

<p>This feature is not working by default, but yes, you can do this. <a href="https://github.com/juliohm1978/kubernetes-cifs-volumedriver" rel="nofollow noreferrer">Here is the project</a> which allows you to do this in a proper way. After volume driver setup, you can use  Windows share as <a href="https://kubernetes.io/docs/concepts/storage/volumes/" rel="nofollow noreferrer">PersistentVolume</a> in your Kubernetes cluster.</p>

<p><strong>*Updates</strong></p>

<p>Also you can use windows share as nfs volume in Kubernetes. <a href="https://github.com/kubernetes/examples/tree/master/staging/volumes/nfs" rel="nofollow noreferrer">Here you</a> can find some examples of using nfs in Kubernetes</p>
