openebs-archive / dynamic-nfs-provisioner

Operator for dynamically provisioning an NFS server on any Kubernetes Persistent Volume. Also creates an NFS volume on the dynamically provisioned server for enabling Kubernetes RWX volumes.
Apache License 2.0
168 stars 58 forks source link

nfs server supporting pod antiaffinity policy #170

Open cxfcxf opened 10 months ago

cxfcxf commented 10 months ago

Describe the problem/challenge you have Currently the nfs server started by nfs provisioner only take considering of pod affinity policy,

the issue with that is, since its requesting very small amount of resource, all the nfs pod will be schedule to the same node in my real life usage,

you can guess how bad that is since all nfs pod running on the same nodes

i also notice that it will be very slow to create new one 20 mins when there are already 3-4 nfs pod running on one node.

Describe the solution you'd like provide a way to set pod antiaffinity policy to the nfs pod so nfs server can be spread across the cluster.

Environment:

Vote on this issue!

This is an invitation to the OpenEBS community to vote on issues.
Use the "reaction smiley face" up to the right of this comment to vote.