Skip to content

Commit

Permalink
Merge pull request #7288 from sapcc/sumitarora2786-patch-1
Browse files Browse the repository at this point in the history
Update cephobjectstore-placement-pools.yaml
  • Loading branch information
sumitarora2786 authored Oct 23, 2024
2 parents f5e938a + 1bea861 commit ae9414f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions system/cc-ceph/templates/cephobjectstore-placement-pools.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
{{- if .Values.rgwTargetPlacements.enabled }}
{{- range $target := .Values.rgwTargetPlacements.placements }}
{{- if .Values.rgwTargetPlacements.nvme.enabled }}
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
metadata:
name: {{ $target.name }}_nvme.rgw.buckets.data
spec:
{{- if $target.failureDomain }}
failureDomain: {{ $target.failureDomain | default "host" }}
{{- end }}
replicated:
size: {{ $target.size | default 3 }}
{{- if $target.replicasPerFailureDomain }}
replicasPerFailureDomain: {{ $target.replicasPerFailureDomain | default 1 }}
{{- end }}
{{- if $target.subFailureDomain }}
subFailureDomain: {{ $target.subFailureDomain | default "host" }}
{{- end }}
{{- if $target.crushRoot }}
crushRoot: {{ $target.crushRoot | default "default" }}
{{- end }}
deviceClass: nvme
application: rgw
parameters:
pg_num: "1024"
pgp_num: "1024"
nodelete: {{ $.Values.pool.nodelete | quote }}
nosizechange: {{ $.Values.pool.nosizechange | quote }}
{{- end }}
---
apiVersion: ceph.rook.io/v1
kind: CephBlockPool
Expand Down

0 comments on commit ae9414f

Please sign in to comment.