kubernetes-csi / csi-driver-nfs

This driver allows Kubernetes to access NFS server on Linux node.
Apache License 2.0
852 stars 250 forks source link

Can the same k8s cluster deploy this driver multiple times #760

Open yuenwah opened 1 month ago

yuenwah commented 1 month ago

Is your feature request related to a problem?/Why is this needed We may have multiple edge areas in the edge cluster, and each area uses its own nfs to create pvc. When csi-controller runs in other areas, pvc cannot be dynamically created in the current area, and an error message will be displayed saying that nfs cannot be connected because the network is not interoperable. This error message is in line with expectations.

Describe the solution you'd like in detail Deploy multiple sets in one cluster, but it is necessary to consider whether daemonset csi-node can be shared, and use different drivers to distinguish csi-controllers.

Describe alternatives you've considered null

Additional context null

andyzhangx commented 1 month ago

pls try with this link: https://github.com/kubernetes-csi/csi-driver-nfs/tree/master/charts#install-driver-with-customized-driver-name-deployment-name,

yuenwah commented 1 month ago

pls try with this link: https://github.com/kubernetes-csi/csi-driver-nfs/tree/master/charts#install-driver-with-customized-driver-name-deployment-name,

We used this method for our first deployment, but we are not sure whether it is supported to deploy multiple times in the same cluster using this method.

andyzhangx commented 1 month ago

you need to test by yourself, I have not done that yet, pls verify and update whether there is any issue, thx.

jsalatiel commented 1 month ago

Wouldn't just create the storage classes manually allow to have multiple servers?