Re: [kubernetes-users] Re: [google-containers] Can two persistent volume claims be bound to the same persistent volume?

2018-08-24 Thread 'Michelle Au' via Kubernetes user discussion and Q
You can try the nfs-client provisioner to dynamically create subdirectories on a single NFS server: https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client On Fri, Aug 24, 2018 at 9:55 AM 'Tim Hockin' via Kubernetes user discussion and Q wrote: > If you pointed them at

Re: [kubernetes-users] Re: [google-containers] Can two persistent volume claims be bound to the same persistent volume?

2018-08-24 Thread 'Tim Hockin' via Kubernetes user discussion and Q
If you pointed them at the same NFS export (server + path) then it's expected that they would see each other's changes. You can either create another export on the server or mount a sub-dir of that export (e.g. export /home, but mount /home/you vs /home/me) or you can use k8s' `subPath` field on

[kubernetes-users] Re: [google-containers] Can two persistent volume claims be bound to the same persistent volume?

2018-08-24 Thread Stephen Eaton
I tried creating two PV's of 10Gi both pointing at the same NFS of 1TB. I also create 2 PVCs for the same StorageClass also of 10Gi. The problem is that when I add a file to on the the PVs the same file is present on the other PV. What I would like to be able to do it to create to separate