NFS Sidecar

Cluster information:

Kubernetes version: 1.12
Cloud being used: bare-metal
Installation method: kubeadm
Host OS: 18.04
CNI and version: Flannel 0.7
CRI and version: 1.2

I am trying to create a NFS sidecar. Has anyone tried this. Some background to what I am doing. I am trying to mount a NFS volume to an existing pod. At the same time, I want to be able to mount the same pod to other pods and maybe other hosts for read only access. Since I don’t want to affect current network traffic, I want to try to create a NFS sidecar for this. Is this possible and does anyone have the procedure for this? Thanks.


Not sure I follow what you mean with use a sidecar to avoid nfs traffic. Can you please elaborate?

Regarding mounting NFS volume, what did you try? Have you tried using an NFS volume?