DirectPV is a Kubernetes CSI driver that manages direct attached storage by discovering, formatting, mounting, scheduling, and monitoring drives across servers.
Kubernetes CSI driver for Direct Attached Storage :minidisc:
DirectPV is designed for Kubernetes users who want to leverage direct attached storage (DAS) for distributed data stores like object storage, databases, and message queues without the overhead of network-based storage layers. It is ideal for environments where low latency and high performance are critical, and where users need a persistent volume manager that avoids additional replication layers and network hops.
DirectPV versions v1.x, v2.x, and v3.x are end-of-life and unsupported; version v4.0.x entered maintenance mode as of Jan 01, 2025. Users should ensure compatibility with their Kubernetes environment and consider the performance benefits of using direct attached storage over traditional SAN/NAS solutions. Participation in the MinIO Slack community is recommended for support and updates.
Install DirectPV Krew plugin: kubectl krew install directpv
Install DirectPV in your Kubernetes cluster: kubectl directpv install
Get information about the installation: kubectl directpv info
kubectl directpv discover
Probe and save drive information to drives.yaml file
kubectl directpv init drives.yaml
Initialize selected drives based on the drives.yaml configuration
curl -sfL https://github.com/minio/directpv/raw/master/functests/minio.yaml | kubectl apply -f -
Deploy a demo MinIO server to test DirectPV functionality