From 04ac0619351ef3403fdd059709016df7d6281c67 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 7 Jun 2021 21:07:59 +0200 Subject: [PATCH] Add CephFilesystem --- rook/storageclass-cephfs.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/rook/storageclass-cephfs.yaml b/rook/storageclass-cephfs.yaml index fc8169b..d718f16 100644 --- a/rook/storageclass-cephfs.yaml +++ b/rook/storageclass-cephfs.yaml @@ -32,3 +32,20 @@ allowVolumeExpansion: true mountOptions: # uncomment the following line for debugging #- debug +--- +apiVersion: ceph.rook.io/v1 +kind: CephFilesystem +metadata: + name: myfs + namespace: rook-ceph +spec: + metadataPool: + replicated: + size: 3 + dataPools: + - replicated: + size: 3 + preserveFilesystemOnDelete: true + metadataServer: + activeCount: 1 + activeStandby: true