rook / nfs

Rook storage provider for NFS
Apache License 2.0
31 stars 10 forks source link

Be able to specify a nodeSelector for NFSServer #38

Open breuerfelix opened 2 years ago

breuerfelix commented 2 years ago

Is this a bug report or feature request?

What should the feature do: If you specify a nodeSelector in NFSServer.spec.nodeSelector it should be passed to the pod which gets created.

What is use case behind this feature: If you want to bind a hostPath to make it available to other Nodes in the cluster, you wanna specify on which Node the Pod should schedule.
My usecase: i got n amount of Nodes and one of them got a big harddrive attached. I wanna make this one available in the whole cluster so i want the NFSServer Pod to be scheduled on this specific Node. Right now i do not know how to archive this with Rook NFSServer.