Sidecar container that watches Kubernetes PersistentVolumeClaim objects and triggers CreateVolume/DeleteVolume against a CSI endpoint
Clone or download
k8s-ci-robot Merge pull request #148 from verult/flag-gates
Flag gate for topology and leader election
Latest commit 6ba243b Oct 16, 2018

Build Status

Kubernetes external provisioner that works with CSI volumes.

This is an example external provisioner for Kubernetes which provisions using CSI Volume drivers.. It's under heavy development, so at this time is notes for the developers coding. Once complete this will change to something user friendly.


make csi-provisioner


Start Kubernetes

Run a local kubernetes cluster built from latest master code

Run Storage Provider

Use HostPath drivers

Go to drivers and run:

bin/hostpathplugin --drivername mydriver  --endpoint unix://tmp/csi.sock --nodeid foobar -v=5

Start external provisioner

bin/csi-provisioner -kubeconfig /var/run/kubernetes/admin.kubeconfig -alsologtostderr -provisioner csi-flex

Create Storage class, PVC, and Pod

kubectl create -f examples/sc.yaml
kubectl create -f example/pvc2.yaml
kubectl create -f example/pod.yaml

Delete PVC

kubectl delete -f example/pvc1.yaml

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.