forked from rook/rook
To make it easier for the user to switch to a namespace other than the default 'rook-ceph', the tag '# namespace:cluster' must be inserted in all the places where this namespace is used. This way, a simple 'sed' command can update all the Yaml files to the new namespace. Signed-off-by: Redouane Kachach <rkachach@redhat.com>
17 lines
511 B
YAML
17 lines
511 B
YAML
#################################################################################################################
|
|
# 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 # namespace:cluster
|
|
spec:
|
|
replicated:
|
|
size: 3
|
|
mirroring:
|
|
enabled: true
|
|
mode: image
|