Skip to content

Commit

Permalink
ceph: Add mirrored pool yaml
Browse files Browse the repository at this point in the history
Add a new yaml for creating pools that
have mirroring enabled.

Signed-off-by: Yug Gupta <yuggupta27@gmail.com>
  • Loading branch information
Yuggupta27 committed Sep 8, 2021
1 parent 25b3820 commit 49cf506
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cluster/examples/kubernetes/ceph/pool-mirrored.yaml
@@ -0,0 +1,20 @@
#################################################################################################################
# Create a mirroring enabled Ceph pool. Only a single OSD is required.
# kubectl create -f pool-mirrored.yaml
#################################################################################################################

apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: mirroredpool
namespace: rook-ceph
spec:
replicated:
size: 1
mirroring:
enabled: true
mode: image
# schedule(s) of snapshot
snapshotSchedules:
- interval: 24h # daily snapshots
startTime: 14:00:00-05:00

0 comments on commit 49cf506

Please sign in to comment.