mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
This commit adds the support for creating a Raw Block Volume request using volumemode as block in PVC :-
```
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: block-claim
spec:
volumeMode: Block
storageClassName: zfspv-block
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
```
The driver will create a zvol for this volume and bind mount the block device at the given path.
Signed-off-by: Pawan <pawan@mayadata.io>
|
||
|---|---|---|
| .. | ||
| container | ||
| deploy | ||
| k8svolume | ||
| pod | ||
| pts | ||
| pvc | ||
| sc | ||
| stringer | ||
| provision_test.go | ||
| suite_test.go | ||
| utils.go | ||