csi-driver-nfs/docs/csi-dev.md
Mayank Shah 639d1aab5e Add manifest for installing driver controller and install docs
Signed-off-by: Mayank Shah <mayankshah1614@gmail.com>
2020-10-11 15:48:25 +05:30

795 B

CSI Driver Development Guide

Build this project

  • Clone this repo
git clone https://github.com/kubernetes-csi/csi-driver-nfs
  • Build CSI Driver
$ cd csi-driver-nfs
$ make
  • Verify code before submitting PRs
make verify

Test CSI Driver locally

WIP

Test CSI Driver in a Kubernetes Cluster

  • Build container image and push to DockerHub
# Run `docker login` first
$ export LOCAL_USER=<DockerHub Username>
$ make local-build-push
  • Replace quay.io/k8scsi/nfsplugin:v2.0.0 in deploy/kubernetes/csi-nfs-controller.yaml and deploy/kubernetes/csi-nfs-node.yaml with <YOUR DOCKERHUB ID>/nfsplugin:latest

  • Install driver locally

make local-k8s-install 
  • Uninstall driver
make local-k8s-uninstall