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 Oct 20, 2021
1 parent c0b8f5a commit 939ccd8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cluster/examples/kubernetes/ceph/pool-mirrored.yaml
@@ -0,0 +1,16 @@
#################################################################################################################
# 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: 3
mirroring:
enabled: true
mode: image

0 comments on commit 939ccd8

Please sign in to comment.