Files
my-rook-config/deploy/examples/pool-mirrored.yaml
T
Redouane Kachach ff081cc4ae namespace: adding namespace to all rook-ceph namespaces references
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>
2023-10-24 14:17:17 +02:00

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