@@ -5,21 +5,23 @@ metadata:
namespace: rook-ceph
spec:
metadataPool:
- failureDomain: host
replicated:
size: 3
- dataPool:
+ deviceClass: ssd
failureDomain: host
+ dataPool:
erasureCoded:
dataChunks: 2
codingChunks: 1
+ deviceClass: hdd
+ failureDomain: host
preservePoolsOnDelete: true
gateway:
sslCertificateRef:
port: 6980
# securePort: 443
instances: 1
- healthCheck:
- bucket:
- disabled: false
- interval: 60s
+ #healthCheck:
+ # bucket:
+ # disabled: false
+ # interval: 60s
@@ -1,5 +1,4 @@
# TODO move to the main helm values
-# TODO deviceClass: hdd
apiVersion: ceph.rook.io/v1
kind: CephFilesystem
metadata:
@@ -9,9 +8,11 @@ spec:
dataPools:
- replicated:
metadataServer:
activeCount: 1
activeStandby: true
@@ -8,10 +8,14 @@ spec:
size: 2
deviceClass: hdd
+ parameters:
+ # had constant 50% misplaced objects when size=2, min_size=1
+ min_size: "2"