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>
(cherry picked from commit 41ef856)
  • Loading branch information
Yuggupta27 authored and mergify-bot committed Oct 26, 2021
1 parent e73bc29 commit bd8d765
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.
# kubectl create -f pool-mirrored.yaml
#################################################################################################################

apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: mirrored-pool
namespace: rook-ceph
spec:
replicated:
size: 3
mirroring:
enabled: true
mode: image

0 comments on commit bd8d765

Please sign in to comment.