Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

[EOL] CSI Flexadapter driver and its build and dependent configuration files.

License

Notifications You must be signed in to change notification settings

kubernetes-retired/csi-driver-flex

Repository files navigation

ARCHIVED: CSI Flexadapter Driver

This repository is no longer maintained and has been archived.

This repository hosts the CSI Flexadapter driver and all of its build and dependent configuration files to deploy the driver.

Testing manually

Build the binary

make build-flexadapter

Start Flexvolume adapter for simple nfs flexvolume driver

$ sudo ./bin/flexadapter --endpoint tcp://127.0.0.1:10000 --drivername simplenfs --driverpath ./examples/simplenfs-flexdriver/driver/nfs --nodeid CSINode -v=5

Test using csc

GO111MODULE=off go get -u github.com/rexray/gocsi/csc

Get plugin info

$ csc identity plugin-info --endpoint tcp://127.0.0.1:10000
"simplenfs"	"0.1.0"

NodePublish a volume

$ csc node publish --endpoint tcp://127.0.0.1:10000 --target-path /mnt/nfs --attrib server=a.b.c.d --attrib share=nfs_share nfstestvol
nfstestvol

NodeUnpublish a volume

$ csc node unpublish --endpoint tcp://127.0.0.1:10000 --target-path /mnt/nfs nfstestvol
nfstestvol

Get node information

$ csc node get-info --endpoint tcp://127.0.0.1:10000
CSINode 0 (*csi.Topology)(nil)
$ csc node get-capabilities
--endpoint tcp://127.0.0.1:10000
&{}

Community, discussion, contribution, and support

Learn how to engage with the Kubernetes community on the community page.

You can reach the maintainers of this project at:

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

About

[EOL] CSI Flexadapter driver and its build and dependent configuration files.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published