direct-csi-driver

command module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: AGPL-3.0 Imports: 5 Imported by: 0

README

Container Storage Interface (CSI) driver for Direct Volume Access Go

This repository provides tools and scripts for building and testing the DIRECT CSI provider.

Steps to run

# set the environment variables
$> cat << EOF > default.env
DIRECT_CSI_DRIVER_PATHS=/var/lib/direct-csi-driver/data{1...4}
DIRECT_CSI_DRIVER_COMMON_CONTAINER_ROOT=/var/lib/direct-csi-driver
DIRECT_CSI_DRIVER_COMMON_HOST_ROOT=/var/lib/direct-csi-driver
EOF

$> export $(cat default.env)

# create the namespace for the driver
$> kubectl apply -k github.com/minio/direct-csi-driver

# utilize the volume in your application
#
#   ------------------------------------------------------------------------------------------------
#   volumeClaimTemplates: # This is the specification in which you reference the StorageClass
#     - metadata:
#       name: direct-csi-driver-min-io-volume
#     spec:
#       accessModes: [ "ReadWriteOnce" ]
#       resources:
#         requests:
#           storage: 10Gi
#       storageClassName: direct.csi.driver.min.io # This field references the existing StorageClass
#    -----------------------------------------------------------------------------------------------
#
# Example application in test-app.yaml
$> kubectl create -f test-app.yaml

License

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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