File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
content/en/docs/concepts/storage Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ for provisioning PVs. This field must be specified.
76
76
| Glusterfs | ✓ | [Glusterfs](#glusterfs) |
77
77
| iSCSI | - | - |
78
78
| Quobyte | ✓ | [Quobyte](#quobyte) |
79
- | NFS | - | - |
79
+ | NFS | - | [NFS](#nfs) |
80
80
| RBD | ✓ | [Ceph RBD](#ceph-rbd) |
81
81
| VsphereVolume | ✓ | [vSphere](#vsphere) |
82
82
| PortworxVolume | ✓ | [Portworx Volume](#portworx-volume) |
@@ -423,6 +423,29 @@ parameters:
423
423
` gluster-dynamic-<claimname>` . The dynamic endpoint and service are automatically
424
424
deleted when the persistent volume claim is deleted.
425
425
426
+ # ## NFS
427
+
428
+ ` ` ` yaml
429
+ apiVersion: storage.k8s.io/v1
430
+ kind: StorageClass
431
+ metadata:
432
+ name: example-nfs
433
+ provisioner: example.com/external-nfs
434
+ parameters:
435
+ server: nfs-server.example.com
436
+ path: /share
437
+ readOnly: false
438
+ ` ` `
439
+
440
+ * `server`: Server is the hostname or IP address of the NFS server.
441
+ * `path`: Path that is exported by the NFS server.
442
+ * `readOnly`: A flag indicating whether the storage will be mounted as read only (default false).
443
+
444
+ Kubernetes doesn't include an internal NFS provisioner. You need to use an external provisioner to create a StorageClass for NFS.
445
+ Here are some examples :
446
+ * [NFS Ganesha server and external provisioner](https://github.com/kubernetes-sigs/nfs-ganesha-server-and-external-provisioner)
447
+ * [NFS subdir external provisioner](https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner)
448
+
426
449
# ## OpenStack Cinder
427
450
428
451
` ` ` yaml
You can’t perform that action at this time.
0 commit comments