direct-csi

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: AGPL-3.0

README

Direct CSI

build license

Direct CSI is a driver to allocate volumes for pods that require direct access to storage media (eg. MinIO). It maintains a global view of storage in the cluster, and directs pods to run on nodes where volume is provisioned. Each volume is a subdirectory carved out of available drives on the node and mounted into pods.

Visit our documentation for more information.

Installation

Install Direct-CSI cli
kubectl krew install directcsi
Install Direct-CSI driver
kubectl directcsi install --crd 
Add Drives to DirectCSI pool

Choose drives to be managed by DirectCSI. Refer to Add Drives command for more info.

kubectl directcsi drives add /dev/nvme* --nodes myhost{1...4}

Make a Persistent Volume Claim

Provision a Direct-CSI volume by specifying volumeClaimTemplates:

Example
volumeClaimTemplates:
  - metadata:
    name: myvol1
  spec:
    accessModes: [ "ReadWriteOnce" ]
    resources:
      requests:
        storage: 500G
    storageClassName: direct.csi.min.io

References

License

Use of directcsi driver is governed by the GNU AGPLv3 license that can be found in the LICENSE file.

Directories

Path Synopsis
cmd
pkg
apis/direct.csi.min.io/v1alpha1
+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=direct.csi.min.io
+k8s:deepcopy-gen=package,register +k8s:openapi-gen=true +groupName=direct.csi.min.io
clientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
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/direct.csi.min.io/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
clientset/typed/direct.csi.min.io/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
sys

Jump to

Keyboard shortcuts

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