csi-external-provisioner

module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2018 License: Apache-2.0

README

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

Directories

Path Synopsis
cmd
csi-provisioner command
pkg

Jump to

Keyboard shortcuts

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