This is an example external provisioner for Kubernetes which provisions using CSI Volume drivers.. It's under heavy development, so at this time README.md is notes for the developers coding. Once complete this will change to something user friendly.
make csi-provisioner
Run a local kubernetes cluster built from latest master code
Go to drivers and run:
bin/hostpathplugin --drivername mydriver --endpoint unix:https://tmp/csi.sock --nodeid foobar -v=5
bin/csi-provisioner -kubeconfig /var/run/kubernetes/admin.kubeconfig -alsologtostderr -provisioner csi-flex
kubectl create -f examples/sc.yaml
kubectl create -f example/pvc2.yaml
kubectl create -f example/pod.yaml
kubectl delete -f example/pvc1.yaml