1
0
mirror of https://github.com/ceph/ceph-csi.git synced 2024-12-29 00:10:23 +00:00
ceph-csi/examples/nfs/rook-nfs.yaml
Niels de Vos 085a3bdc73 doc: use .nfs as default pool for NFS-export configs
"nfs-ganesha" is the default pool for older Ceph versions, recent
versions use ".nfs" (which can not be changed in the CephNFS resource).

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2022-05-10 00:43:43 +00:00

20 lines
545 B
YAML

---
apiVersion: ceph.rook.io/v1
kind: CephNFS
metadata:
name: my-nfs
spec:
# For Ceph v15, the rados block is required. It is ignored for Ceph v16.
rados:
# some versions of Ceph v16 always uses/expects "nfs-ganesha" more recent
# versions always use ".nfs"
pool: .nfs
# 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