Dynamically deploy Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is provisioned from RAW-device file loop mounted Local-Hostpath stor
Dynamically deploy Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is provisioned from RAW-device file loop mounted Local-Hostpath stor
There are a few reasons to consider using node-based (rather than network-based) storage architecture:
[!WARNING] We're still pre-v1, meaning our helm api or storage class parameters might have breaking changes
Another OpenEBS provisioner, the LocalPV-HostPath makes it pretty easy to automatically provision HostPath PVs and use them in your workloads. That being said, it has the following known limitations:
[!IMPORTANT] All the above issues stem from the same root cause: HostPath/LocalPVs are simple bind-mounts from the host filesystem into the pod.
To use a Filesystem based extent file as the emulated block device (i.e. a soft-LUN block device), and leverage LINUX loop devices to associate that soft-LUN file as a complete flexible block device (i.e. an emulated soft disk device).
At this point you can create a PV with a filesystem on it, which adds the following benefits:
df -hT in O(1) since each soft-LUN block device is mounted separately on the local node (displaying utilization status/metrics or each mount point).Please follow the instructions from the Install Guide.
Full documentation lives in the docs directory:
Filesystem modeBlock modereadOnly attribute in the PVC template is not currently handled properlyext4, btrfs, xfsbtrfs supportedNo open issues yet, or sync has not completed.