19 lines
981 B
Markdown
19 lines
981 B
Markdown
## Driver Parameters
|
|
> This driver requires existing and already configured NFSv3 or NFSv4 server, it supports dynamic provisioning of Persistent Volumes via Persistent Volume Claims by creating a new sub directory under NFS server.
|
|
|
|
### Storage Class Usage (Dynamic Provisioning)
|
|
> [`StorageClass` example](../deploy/example/storageclass-nfs.yaml)
|
|
|
|
Name | Meaning | Example Value | Mandatory | Default value
|
|
--- | --- | --- | --- | ---
|
|
server | NFS Server endpoint | Domain name `nfs-server.default.svc.cluster.local` <br>Or IP address `127.0.0.1` | Yes |
|
|
share | NFS share path | `/` | Yes |
|
|
|
|
### PV/PVC Usage (Static Provisioning)
|
|
> [`PersistentVolume` example](../deploy/example/pv-nfs-csi.yaml)
|
|
|
|
Name | Meaning | Example Value | Mandatory | Default value
|
|
--- | --- | --- | --- | ---
|
|
volumeAttributes.server | NFS Server endpoint | Domain name `nfs-server.default.svc.cluster.local` <br>Or IP address `127.0.0.1` | Yes |
|
|
volumeAttributes.share | NFS share path | `/` | Yes |
|