Skip to content

Commit

Permalink
pool: update the failure domain of pool-ec file to host
Browse files Browse the repository at this point in the history
Updating the failure domain of pool-ec file from
osd to host.

Signed-off-by: subhamkrai <srai@redhat.com>
  • Loading branch information
subhamkrai committed Dec 14, 2021
1 parent ddbd08b commit 9fb2eae
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions deploy/examples/pool-ec-test.yaml
@@ -0,0 +1,18 @@
#################################################################################################################
# Create a Ceph pool with settings for erasure coding. A minimum of 2 OSDs are required in this example.
# kubectl create -f pool-ec-test.yaml
#################################################################################################################

apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: ec-pool
namespace: rook-ceph # namespace:cluster
spec:
# The failure domain will spread the replicas of the data across different failure zones
failureDomain: osd
# Make sure you have enough OSDs to support the replica size or sum of the erasure coding and data chunks.
# This is the minimal example that requires only 3 OSDs.
erasureCoded:
dataChunks: 1
codingChunks: 1
2 changes: 1 addition & 1 deletion deploy/examples/pool-ec.yaml
Expand Up @@ -10,7 +10,7 @@ metadata:
namespace: rook-ceph # namespace:cluster
spec:
# The failure domain will spread the replicas of the data across different failure zones
failureDomain: osd
failureDomain: host
# Make sure you have enough OSDs to support the replica size or sum of the erasure coding and data chunks.
# This is the minimal example that requires only 3 OSDs.
erasureCoded:
Expand Down

0 comments on commit 9fb2eae

Please sign in to comment.