mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 10:53:34 +00:00
doc: initial/partial instructions for using NFS examples
The README explains some of the requirements and basic configuration for using the NFS-provisioner. When more deployment artifacts are added, the README will get extended. The Rook CephNFS example is included, as it is the easiest to get started with dynamic provisioning of NFS-volumes. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
b72774f9e9
commit
190504713a
19
examples/nfs/rook-nfs.yaml
Normal file
19
examples/nfs/rook-nfs.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
apiVersion: ceph.rook.io/v1
|
||||
kind: CephNFS
|
||||
metadata:
|
||||
name: my-nfs
|
||||
namespace: default
|
||||
spec:
|
||||
# For Ceph v15, the rados block is required. It is ignored for Ceph v16.
|
||||
rados:
|
||||
# Ceph v16 always uses/expects "nfs-ganesha"
|
||||
pool: nfs-ganesha
|
||||
# RADOS namespace where NFS client recovery data is stored in the pool.
|
||||
# fixed value for Ceph v16: the name of this CephNFS object
|
||||
namespace: my-nfs
|
||||
|
||||
# Settings for the NFS server
|
||||
server:
|
||||
# the number of active NFS servers
|
||||
active: 1
|
Reference in New Issue
Block a user