diff --git a/system-apps/rook-ceph/storage/block/rook-ceph-block-storageclass.yaml b/system-apps/rook-ceph/storage/block/rook-ceph-block-storageclass.yaml new file mode 100644 index 0000000..e69de29 diff --git a/system-apps/rook-ceph/storage/block/rook-ceph-blockpool.yaml b/system-apps/rook-ceph/storage/block/rook-ceph-blockpool.yaml new file mode 100644 index 0000000..0a0b548 --- /dev/null +++ b/system-apps/rook-ceph/storage/block/rook-ceph-blockpool.yaml @@ -0,0 +1,9 @@ +apiVersion: ceph.rook.io/v1 +kind: CephBlockPool +metadata: + name: block-replicapool + namespace: rook-ceph +spec: + failureDomain: host + replicated: + size: 3 \ No newline at end of file diff --git a/system-apps/rook-ceph/storage/object/rook-ceph-object-storageclass.yaml b/system-apps/rook-ceph/storage/object/rook-ceph-object-storageclass.yaml new file mode 100644 index 0000000..6678ec9 --- /dev/null +++ b/system-apps/rook-ceph/storage/object/rook-ceph-object-storageclass.yaml @@ -0,0 +1,12 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: rook-ceph-bucket + namespac: rook-ceph +# Change "rook-ceph" provisioner prefix to match the operator namespace if needed +provisioner: rook-ceph.ceph.rook.io/bucket +reclaimPolicy: Delete +parameters: + objectStoreName: weyma-bm-store + objectStoreNamespace: rook-ceph + region: us-east-1 \ No newline at end of file diff --git a/system-apps/rook-ceph/storage/object/rook-ceph-object-store.yaml b/system-apps/rook-ceph/storage/object/rook-ceph-object-store.yaml new file mode 100644 index 0000000..177374c --- /dev/null +++ b/system-apps/rook-ceph/storage/object/rook-ceph-object-store.yaml @@ -0,0 +1,24 @@ +apiVersion: ceph.rook.io/v1 +kind: CephObjectStore +metadata: + name: weyma-bm-store + namespace: rook-ceph +spec: + metadataPool: + failureDomain: host + replicated: + size: 3 + dataPool: + failureDomain: host + erasureCoded: + dataChunks: 2 + codingChunks: 1 + preservePoolsOnDelete: true + gateway: + port: 80 + # securePort: 443 + instances: 1 + healthCheck: + bucket: + disabled: false + interval: 60s \ No newline at end of file