Host network is needed for controller as the controller pod initial tries to mount it to nfs to create a directory structure. And for this it wont be able to access the rpc.statd on the underlying host. Mounting command: mount Mounting arguments: -t nfs -o hard,nfsvers=3 192.168.125.3:/FS-SDC-U-TB4-01 /tmp/pvc-aacf7ffe-922b-4aae-aed6-2828e0234d87 Output: mount.nfs: rpc.statd is not running but is required for remote locking. mount.nfs: Either use '-o nolock' to keep locks local, or start statd. |
||
|---|---|---|
| .github | ||
| CHANGELOG | ||
| charts | ||
| cmd/nfsplugin | ||
| deploy | ||
| docs | ||
| hack | ||
| pkg/nfs | ||
| release-tools | ||
| test | ||
| vendor | ||
| .cloudbuild.sh | ||
| .gitignore | ||
| .prow.sh | ||
| .travis.yml | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| LICENSE | ||
| Makefile | ||
| OWNERS | ||
| README.md | ||
| RELEASE.md | ||
| SECURITY_CONTACTS | ||
| cloudbuild.yaml | ||
| code-of-conduct.md | ||
| go.mod | ||
| go.sum | ||
README.md
CSI NFS driver
Overview
This is a repository for NFS CSI Driver. Currently it implements bare minimum of the CSI spec and is in the alpha state of the development.
CSI Feature matrix
| nfs.csi.k8s.io | K8s version compatibility | CSI versions compatibility | Dynamic Provisioning | Resize | Snapshots | Raw Block | AccessModes | Status |
|---|---|---|---|---|---|---|---|---|
| master | 1.14 + | v1.0 + | yes | no | no | no | Read/Write Multiple Pods | Alpha |
| v2.0.0 | 1.14 + | v1.0 + | no | no | no | no | Read/Write Multiple Pods | Alpha |
Requirements
The CSI NFS driver requires Kubernetes cluster of version 1.14 or newer and preexisting NFS server, whether it is deployed on cluster or provisioned independently. The plugin itself provides only a communication layer between resources in the cluser and the NFS server.
Install driver on a Kubernetes cluster
- install by kubectl
- install by helm charts
Driver parameters
Please refer to nfs.csi.k8s.io driver parameters
Examples
Troubleshooting
Kubernetes Development
Please refer to development guide
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.