directpv

module
v1.4.4-0...-86a696e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2025 License: AGPL-3.0

README

DirectPV

DirectPV is a CSI driver for Direct Attached Storage. In a simpler sense, it is a distributed persistent volume manager, and not a storage system like SAN or NAS. It is useful to discover, format, mount, schedule and monitor drives across servers.

Distributed data stores such as object storage, databases and message queues are designed for direct attached storage, and they handle high availability and data durability by themselves. Running them on traditional SAN or NAS based CSI drivers (Network PV) adds yet another layer of replication/erasure coding and extra network hops in the data path. This additional layer of disaggregation results in increased-complexity and poor performance.

Architecture Diagram

Quickstart

  1. Install DirectPV Krew plugin
$ kubectl krew install directpv
  1. Install DirectPV in your kubernetes cluster
$ kubectl directpv install
  1. Get information of the installation
$ kubectl directpv info
  1. Add drives
# Probe and save drive information to drives.yaml file.
$ kubectl directpv discover

# Initialize selected drives.
$ kubectl directpv init drives.yaml
  1. Deploy a demo MinIO server
$ curl -sfL https://github.com/minio/directpv/raw/master/functests/minio.yaml | kubectl apply -f -

Further information

Refer detailed documentation

Join Community

DirectPV is a MinIO project. You can contact the authors over the slack channel

Unsupported versions

  • Versions v1.x, v2.x and v3.x of DirectCSI/DirectPV are marked end-of-life and unsupported.
  • DirectPV version v4.0.x entered maintenance mode on Jan 01, 2025.

License

DirectPV is released under GNU AGPLv3 license. Refer the LICENSE document for a complete copy of the license.

Directories

Path Synopsis
cmd
directpv command
pkg
clientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/typed/directpv.min.io/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/typed/directpv.min.io/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
k8s
legacy/clientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
legacy/clientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
legacy/clientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
legacy/clientset/typed/direct.csi.min.io/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
legacy/clientset/typed/direct.csi.min.io/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
legacy/clientset/typed/direct.csi.min.io/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
legacy/clientset/typed/direct.csi.min.io/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
legacy/clientset/typed/direct.csi.min.io/v1beta2
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
legacy/clientset/typed/direct.csi.min.io/v1beta2/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
legacy/clientset/typed/direct.csi.min.io/v1beta3
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
legacy/clientset/typed/direct.csi.min.io/v1beta3/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
legacy/clientset/typed/direct.csi.min.io/v1beta4
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
legacy/clientset/typed/direct.csi.min.io/v1beta4/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
legacy/clientset/typed/direct.csi.min.io/v1beta5
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
legacy/clientset/typed/direct.csi.min.io/v1beta5/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
sys
xfs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL