Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Object Stores to Ceph #1030

Merged
merged 1 commit into from
Jun 19, 2022
Merged

Add Object Stores to Ceph #1030

merged 1 commit into from
Jun 19, 2022

Conversation

h3mmy
Copy link
Owner

@h3mmy h3mmy commented Jun 19, 2022

Description of the change

Adds cephObjectStores

Benefits

RGW gateway. S3 buckets like minio, but in the ceph storage

Possible drawbacks

ARM compatibility

Applicable issues

  • fixes #

Additional information

@bloopy-boi bloopy-boi bot added area/cluster Changes made in the cluster directory size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 19, 2022
@bloopy-boi
Copy link
Contributor

bloopy-boi bot commented Jun 19, 2022

Path: cluster/core/rook-ceph/cluster/helm-release.yaml

@@ -96,6 +96,18 @@
 reclaimPolicy: Delete
 allowVolumeExpansion: true
 ---
+# Source: rook-ceph-cluster/templates/cephobjectstore.yaml
+apiVersion: storage.k8s.io/v1
+kind: StorageClass
+metadata:
+ name: ceph-bucket
+provisioner: default.ceph.rook.io/bucket
+reclaimPolicy: Delete
+parameters:
+ objectStoreName: ceph-objectstore
+ objectStoreNamespace: default
+ region: us-east-1
+---
 # Source: rook-ceph-cluster/templates/rbac.yaml
 # Allow the ceph mgr to access cluster-wide resources necessary for the mgr modules
 kind: ClusterRoleBinding
@@ -738,6 +750,35 @@
 useAllNodes: false
 waitTimeoutForHealthyOSDInMinutes: 10
 ---
+# Source: rook-ceph-cluster/templates/cephobjectstore.yaml
+apiVersion: ceph.rook.io/v1
+kind: CephObjectStore
+metadata:
+ name: ceph-objectstore
+spec:
+ dataPool:
+ erasureCoded:
+ codingChunks: 1
+ dataChunks: 2
+ failureDomain: host
+ gateway:
+ instances: 1
+ port: 80
+ resources:
+ limits:
+ memory: 2Gi
+ requests:
+ cpu: 1000m
+ memory: 1Gi
+ healthCheck:
+ bucket:
+ interval: 60s
+ metadataPool:
+ failureDomain: host
+ replicated:
+ size: 3
+ preservePoolsOnDelete: true
+---
 # Source: rook-ceph-cluster/templates/prometheusrules.yaml
 apiVersion: monitoring.coreos.com/v1
 kind: PrometheusRule

@bloopy-boi
Copy link
Contributor

bloopy-boi bot commented Jun 19, 2022

MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ COPYPASTE jscpd yes no 1.11s
✅ CREDENTIALS secretlint yes no 1.96s
✅ GIT git_diff yes no 0.04s
✅ KUBERNETES kubeval 2 0 0.3s
✅ YAML prettier 2 1 0 0.62s
✅ YAML yamllint 2 0 0.16s

See errors details in artifact MegaLinter reports on CI Job page
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

@h3mmy h3mmy merged commit 2382258 into main Jun 19, 2022
@h3mmy h3mmy deleted the cephObjectStore branch June 19, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cluster Changes made in the cluster directory size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant