United Statesopenebs/dynamic-localpv-provisioner
Dynamically deploy Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is provisioned from simple local filesystem storage.
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
OpenEBS Dynamic LocalPV Provisioner
Overview
OpenEBS Dynamic LocalPV Provisioner is an open‐source Kubernetes component that automates the dynamic provisioning of local persistent volumes. It converts local storage available on Kubernetes nodes, such as hostPath directories into persistent volumes accessible via PVCs. The provisioner automatically assigns node affinity metadata, ensuring that pods run on the node hosting the storage. The tool simplifies local storage management by automating volume creation, binding, and cleanup processes for hostpaths. It overcomes challenges of static provisioning by dynamically allocating storage on demand. Overall, the provisioner offers a robust, scalable solution for managing local persistent hostpath volumes in Kubernetes.
Why OpenEBS Dynamic LocalPV Provisioner?
- Dynamic Provisioning: Automatically creates persistent hostpath volumes on demand from local node storage, reducing manual configuration.
- Seamless Kubernetes Integration: Uses node affinity to ensure pods are scheduled on the node where the volume is located, maintaining data consistency.
- Customizable Storage Behavior: Offers flexible configuration through StorageClasses, supporting hostpath features like quota enforcement etc.
- Optimized for High Performance: Ideal for high-performance, low-latency, stateful applications like replicated databases which need local storage.
Architecture
graph TD
%% Define Styles with Black Text
style kubelet fill:#ffcc00,stroke:#d4a017,stroke-width:2px,color:#000
style Provisioner fill:#66ccff,stroke:#3388cc,stroke-width:2px,color:#000
style HelperPod fill:#99ff99,stroke:#44aa44,stroke-width:2px,color:#000
style App fill:#ff9999,stroke:#cc6666,stroke-width:2px,color:#000
style Hostpath fill:#ffdd99,stroke:#d4a017,stroke-width:2px,color:#000
style PVC fill:#ffdd99,stroke:#d4a017,stroke-width:2px,color:#000
style PV fill:#d9b3ff,stroke:#9955cc,stroke-width:2px,color:#000
subgraph "Kubernetes Cluster"
subgraph "Kubelet"
kubelet["Kubelet"]
end
subgraph "OpenEBS LocalPV"
Provisioner["LocalPV Provisioner"]
HelperPod["Helper Pod (Creates/Cleanup Directory)"]
end
subgraph "Worker Node"
App["Application Pod"]
PVC["Persistent Volume Claim"]
PV["Persistent Volume"]
Hostpath["[User-defined path on host]"]
end
end
%% Storage Flow
App -->|Requests Storage| PVC
PVC -->|Binds to| PV
PV -->|Mounted on| Hostpath
kubelet -->|Mounts Path| Hostpath
%% Provisioning Flow
Provisioner -->|Launches| HelperPod
Provisioner -->|Watches PVC Requests| Provisioner
Provisioner -->|Creates PV| PV
HelperPod -->|Creates Directory| Hostpath
PV -->|Bound to| PVC
Please check here for complete design and architecture.
Kubernetes Compatibility Matrix
| Kubernetes <= v1.18 | Kubernetes (v1.19 - v1.22) | Kubernetes >=v1.23 | |
|---|---|---|---|
v4.3.x | ✕ | ✓ | ✓ |
v4.4.x | ✕ | ✓ | ✓ |
v4.5.x | ✕ | ✕ | ✓ |
HEAD | ✕ | ✕ | ✓ |
Documents
- Prerequisites
- Quickstart
- Developer Setup
- Testing
- Contibuting Guidelines
- Governance
- Changelog
- Release Process
Features
- Access Modes
- ReadWriteOnce
ReadOnlyManyReadWriteMany
- Volume modes
-
Filesystemmode -
Blockmode
-
- Volume Resize(Via Quotas)
Inspiration/Credit
OpenEBS Local PV has been inspired by the prior work done by the following the Kubernetes projects:
- https://github.com/kubernetes-sigs/sig-storage-lib-external-provisioner/tree/HEAD/examples/hostpath-provisioner
- https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner
- https://github.com/rancher/local-path-provisioner
Dev Activity dashboard
License Compliance
OpenEBS is a CNCF Sandbox Project

Similar Projects
Discover other similar projects and AI models.
Dapr is a portable runtime for building distributed applications across cloud and edge, combining event-driven architecture with workflow orchestration.
Dynamically provision Stateful Persistent Node-Local Volumes & Filesystems for Kubernetes that is integrated with a backend ZFS data storage stack.
an easy-to-use dynamic service discovery, configuration and service management platform for building AI cloud native applications.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Full-stack observability · Metrics · Logs · Traces · Flows · Topology · Infrastructure · APM · NPM · DBM · RUM · Synthetics · Cloud · AI SRE · OpenTelemetry · SNMP · NetFlow/IPFIX/sFlow · IPMI · Redfish · 2000+ integrations