Skip to content

Commit

Permalink
fix: add rbd-fast-ec-metadata replicated pool
Browse files Browse the repository at this point in the history
  • Loading branch information
timtorChen committed Jan 8, 2025
1 parent e63b379 commit 3372d60
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions kubernetes/rook-ceph/cephblock.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephblockpool_v1.json
## rbd-fas-pool
## rbd-fast pool
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
Expand All @@ -14,6 +14,20 @@ spec:
requireSafeReplicaSize: true
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephblockpool_v1.json
## rbd-fast-ec-metadata pool (ec pool do not support omap, it need a replicated pool for metadata)
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
namespace: rook-ceph
name: rbd-fast-ec-metadata
spec:
failureDomain: host
deviceClass: nvme
replicated:
size: 3
requireSafeReplicaSize: true
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/datreeio/CRDs-catalog/refs/heads/main/ceph.rook.io/cephblockpool_v1.json
## rbd-fast-ec pool
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
Expand Down Expand Up @@ -78,7 +92,8 @@ metadata:
provisioner: rook-ceph.rbd.csi.ceph.com
parameters:
clusterID: rook-ceph
pool: rbd-fast-ec
dataPool: rbd-fast-ec
pool: rbd-fast-ec-metadata
imageFeatures: layering
csi.storage.k8s.io/provisioner-secret-name: rook-csi-rbd-provisioner
csi.storage.k8s.io/provisioner-secret-namespace: rook-ceph
Expand Down

0 comments on commit 3372d60

Please sign in to comment.