795 B
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.0indeploy/kubernetes/csi-nfs-controller.yamlanddeploy/kubernetes/csi-nfs-node.yamlwith<YOUR DOCKERHUB ID>/nfsplugin:latest -
Install driver locally
make local-k8s-install
- Uninstall driver
make local-k8s-uninstall