openebs / lvm-localpv

Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend LVM2 data storage stack.
Apache License 2.0
245 stars 92 forks source link

feat(scheduler): adding SpaceWeighted scheduler #178

Closed pawanpraka1 closed 2 years ago

pawanpraka1 commented 2 years ago

fixes: https://github.com/openebs/lvm-localpv/issues/104

adding a new scheduler logic which selects the node which has max free space available. This is better scheduling algorithm than the volumeweighted and capacity weighted where we don't check for the free space available on the node.

Release note Making it a default scheduler, so, now onwards, for immediate binding case, the controller will pick the node which has largest free space available for provisioning the volumes.

Signed-off-by: Pawan pawan@mayadata.io

pawanpraka1 commented 2 years ago

@w3aman please verify this feature.