Skip to content

Sidecar container that watches Kubernetes PersistentVolumeClaim objects and triggers CreateVolume/DeleteVolume against a CSI endpoint

License

Notifications You must be signed in to change notification settings

pohly/external-provisioner

This branch is 1433 commits behind kubernetes-csi/external-provisioner:master.

Folders and files

NameName
Last commit message
Last commit date
May 2, 2018
Jan 26, 2018
Nov 27, 2017
Dec 8, 2017
Apr 25, 2018
Mar 24, 2018
Nov 9, 2017
Mar 14, 2018
Feb 28, 2018
Mar 13, 2018
Mar 13, 2018
Oct 27, 2017
May 2, 2018
Mar 27, 2018
Jan 2, 2018
Nov 10, 2017

Repository files navigation

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 README.md is notes for the developers coding. Once complete this will change to something user friendly.

Build

make csi-provisioner

Test

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

About

Sidecar container that watches Kubernetes PersistentVolumeClaim objects and triggers CreateVolume/DeleteVolume against a CSI endpoint

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.8%
  • Makefile 2.9%
  • Other 1.3%