为与后端 LVM2 数据存储堆栈集成的 Kubernetes 动态分配状态持久节点本地卷和文件系统。
OpenEBS Local PV LVM is a CSI plugin for implementation of LVM backed persistent volumes for Kubernetes. It is a local storage solution, which means the device, volume and the application are on the same host. It doesn't contain any dataplane, i.e only its simply a control-plane for the kernel lvm volumes. It mainly comprises of two components which are implemented in accordance to the CSI Specs:
LocalPV refers to storage that is directly attached to a specific node in the Kubernetes cluster. It uses locally available disks (e.g., SSDs, HDDs) on the node.
Use Case: Ideal for workloads that require low-latency access to storage or when data locality is critical (e.g., databases, caching systems).
The diagram below depicts the mapping to the host disks, the LVM stack on top of the disks and the kubernetes persistent volumes to be consumed by the workload. Local PV LVM CSI Controller upon creation of the Persistent Volume Claim, creates a LVMVolume CR, which emits an event for Local PV LVM CSI Node Plugin to create the LV(logical volume). When workloads are scheduled the Local PV LVM CSI Node Plugin makes this lv/logical volume available via a mount point on the host.
…
Name Version K8S 1.23+ Distro Alpine, Arch, CentOS, Debian, Fedora, NixOS, SUSE, Talos, RHEL, Ubuntu Kernel oldest supported kernel is 2.6 LVM2 2.03.21 Min RAM LVM2 is a kernel native module. It is very efficent and fast. It has no strict memory requirements Stability LVM2 is extremly stable and very mature. The Kernel was released ~2005. It exists in most LINUX distros
Filesystem modeBlock modeext4, btrfs, xfs暂无开放 Issues,或尚未同步最近议题。