Ver Fonte

update rook resources

Josh Bicking há 1 mês atrás
pai
commit
31339b6d0a

+ 8 - 6
rook/ceph-object-store.yaml

@@ -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

+ 2 - 1
rook/data/data-filesystem.yaml

@@ -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:
   metadataPool:
     replicated:
       size: 3
+    deviceClass: ssd
   dataPools:
     - replicated:
         size: 3
+      deviceClass: hdd
   metadataServer:
     activeCount: 1
     activeStandby: true

+ 4 - 0
rook/seedbox/seedbox-filesystem.yaml

@@ -8,10 +8,14 @@ spec:
   metadataPool:
     replicated:
       size: 3
+    deviceClass: ssd
   dataPools:
     - replicated:
         size: 2
       deviceClass: hdd
+      parameters:
+        # had constant 50% misplaced objects when size=2, min_size=1
+        min_size: "2"
   metadataServer:
     activeCount: 1
     activeStandby: true