rancher / local-path-provisioner

Dynamically provisioning persistent local storage with Kubernetes
Apache License 2.0
2.08k stars 440 forks source link

Advice Required #65

Open allupaku opened 4 years ago

allupaku commented 4 years ago

our setup : worker nodes - have an nfs mount shared across using nfs mounts - fetched from ldap - for eg : folder like /nfsdata - there is a huge amount of data in the range of PetaBytes in this storage already.

Is local-path-provisioner designed for such a usecase - i assume not - as it only supports ReadWriteOnce mode and there is node affinity set. Do you think there is another module which can work for our purpose ?

yasker commented 4 years ago

@allupaku Local Path Provisioner is not designed for this case since data/node affinity is why it exists.

If you're using the same path across the nodes, you can simply try hostPath volume type ; or if you want each pod to have access to the NFS server directly, you can use nfs volume type.