mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
feat(schd): adding capacity weighted scheduler
The ZFS Driver will use capacity scheduler to pick a node which has less capacity occupied by the volumes. Making this as default scheduler as it is better than the volume count based scheduling. We can use below storageclass to specify the scheduler ```yaml apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: openebs-zfspv allowVolumeExpansion: true parameters: scheduler: "CapacityWeighted" poolname: "zfspv-pool" provisioner: zfs.csi.openebs.io ``` Please Note that after the upgrade, there will be a change in the behavior. If we are not using `scheduler` parameter in the storage class then after the upgrade ZFS Driver will pick the node bases on volume capacity weight instead of the count. Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
parent
e0fbce805b
commit
90ecfe9c73
2 changed files with 41 additions and 4 deletions
1
changelogs/unreleased/266-pawanpraka1
Normal file
1
changelogs/unreleased/266-pawanpraka1
Normal file
|
|
@ -0,0 +1 @@
|
|||
adding capacity weighted scheduler
|
||||
Loading…
Add table
Add a link
Reference in a new issue