11---
22apiVersion : ceph.rook.io/v1
3+ kind : CephObjectRealm
4+ metadata :
5+ name : lfa
6+ namespace : rook-ceph
7+ ---
8+ apiVersion : ceph.rook.io/v1
9+ kind : CephObjectZoneGroup
10+ metadata :
11+ name : lfa
12+ namespace : rook-ceph
13+ spec :
14+ realm : lfa
15+ ---
16+ apiVersion : ceph.rook.io/v1
17+ kind : CephObjectZone
18+ metadata :
19+ name : lfa
20+ namespace : rook-ceph
21+ spec :
22+ zoneGroup : lfa
23+ ---
24+ apiVersion : ceph.rook.io/v1
325kind : CephObjectStore
426metadata :
527 name : lfa
628 namespace : rook-ceph
729spec :
8- metadataPool :
9- failureDomain : host
10- replicated :
11- size : 3
12- quotas :
13- maxSize : 10Gi
14- dataPool :
15- failureDomain : host
16- erasureCoded :
17- dataChunks : 2
18- codingChunks : 1
19- quotas :
20- maxSize : 1Ti
2130 preservePoolsOnDelete : false
2231 gateway :
23- sslCertificateRef :
2432 port : 80
25- # securePort: 443
2633 instances : 3
34+ # resources:
35+ # limits:
36+ # cpu: "16"
37+ # memory: 32Gi
38+ # requests:
39+ # cpu: "16"
40+ # memory: 8Gi
41+ zone :
42+ name : lfa
43+ ---
44+ apiVersion : ceph.rook.io/v1
45+ kind : CephObjectStore
46+ metadata :
47+ name : lfagc # gc only
48+ namespace : rook-ceph
49+ spec :
50+ preservePoolsOnDelete : true
51+ gateway :
52+ port : 80
53+ instances : 3
54+ # resources:
55+ # limits:
56+ # cpu: "16"
57+ # memory: 32Gi
58+ # requests:
59+ # cpu: "16"
60+ # memory: 8Gi
61+ zone :
62+ name : lfa
2763---
2864apiVersion : networking.k8s.io/v1
2965kind : Ingress
@@ -37,16 +73,183 @@ spec:
3773 ingressClassName : nginx
3874 tls :
3975 - hosts :
40- - s3.ruka.dev.lsst.org
76+ - &host s3.ruka.dev.lsst.org
4177 secretName : rook-ceph-rgw-ingress-tls
4278 rules :
43- - host : s3.ruka.dev.lsst.org
79+ - host : *host
80+ http :
81+ paths :
82+ - path : /
83+ pathType : Prefix
84+ backend :
85+ service :
86+ name : rook-ceph-rgw-lfa
87+ port :
88+ number : 80
89+ ---
90+ apiVersion : networking.k8s.io/v1
91+ kind : Ingress
92+ metadata :
93+ name : rook-ceph-rgw-ingress-o11y
94+ namespace : rook-ceph
95+ annotations :
96+ cert-manager.io/cluster-issuer : letsencrypt
97+ nginx.ingress.kubernetes.io/proxy-body-size : 1024m
98+ spec :
99+ ingressClassName : nginx
100+ tls :
101+ - hosts :
102+ - s3.o11y.ruka.dev.lsst.org
103+ secretName : rook-ceph-rgw-ingress-tls-o11y
104+ rules :
105+ - host : s3.o11y.ruka.dev.lsst.org
44106 http :
45107 paths :
46108 - path : /
47109 pathType : Prefix
48110 backend :
49111 service :
50- name : rook-ceph-rgw-lfa
112+ name : rook-ceph-rgw-o11y
51113 port :
52114 number : 80
115+ ---
116+ apiVersion : ceph.rook.io/v1
117+ kind : CephBlockPool
118+ metadata :
119+ name : rgw.root
120+ namespace : rook-ceph
121+ spec :
122+ application : rgw
123+ failureDomain : host
124+ name : .rgw.root
125+ parameters :
126+ nodelete : " true"
127+ nosizechange : " true"
128+ pg_autoscale_mode : " off"
129+ pg_num : " 4"
130+ replicated :
131+ size : 3
132+ ---
133+ apiVersion : ceph.rook.io/v1
134+ kind : CephBlockPool
135+ metadata :
136+ name : lfa.rgw.control
137+ namespace : rook-ceph
138+ spec :
139+ application : rgw
140+ failureDomain : host
141+ parameters :
142+ nodelete : " true"
143+ nosizechange : " true"
144+ pg_autoscale_mode : " off"
145+ pg_num : " 4"
146+ replicated :
147+ size : 3
148+ ---
149+ apiVersion : ceph.rook.io/v1
150+ kind : CephBlockPool
151+ metadata :
152+ name : lfa.rgw.meta
153+ namespace : rook-ceph
154+ spec :
155+ application : rgw
156+ failureDomain : host
157+ parameters :
158+ nodelete : " true"
159+ nosizechange : " true"
160+ pg_autoscale_mode : " off"
161+ pg_num : " 4"
162+ replicated :
163+ size : 3
164+ ---
165+ apiVersion : ceph.rook.io/v1
166+ kind : CephBlockPool
167+ metadata :
168+ name : lfa.rgw.log
169+ namespace : rook-ceph
170+ spec :
171+ application : rgw
172+ failureDomain : host
173+ parameters :
174+ nodelete : " true"
175+ nosizechange : " true"
176+ pg_autoscale_mode : " off"
177+ pg_num : " 32"
178+ replicated :
179+ size : 3
180+ ---
181+ apiVersion : ceph.rook.io/v1
182+ kind : CephBlockPool
183+ metadata :
184+ name : lfa.rgw.buckets.index
185+ namespace : rook-ceph
186+ spec :
187+ application : rgw
188+ failureDomain : host
189+ parameters :
190+ nodelete : " true"
191+ nosizechange : " true"
192+ pg_autoscale_mode : " off"
193+ pg_num : " 256"
194+ replicated :
195+ size : 3
196+ ---
197+ apiVersion : ceph.rook.io/v1
198+ kind : CephBlockPool
199+ metadata :
200+ name : lfa.rgw.buckets.non-ec
201+ namespace : rook-ceph
202+ spec :
203+ application : rgw
204+ failureDomain : host
205+ parameters :
206+ nodelete : " true"
207+ nosizechange : " true"
208+ pg_autoscale_mode : " off"
209+ pg_num : " 4"
210+ replicated :
211+ size : 3
212+ ---
213+ apiVersion : ceph.rook.io/v1
214+ kind : CephBlockPool
215+ metadata :
216+ name : lfa.rgw.otp
217+ namespace : rook-ceph
218+ spec :
219+ application : rgw
220+ failureDomain : host
221+ parameters :
222+ nodelete : " true"
223+ nosizechange : " true"
224+ pg_autoscale_mode : " off"
225+ pg_num : " 1"
226+ replicated :
227+ size : 3
228+ ---
229+ apiVersion : ceph.rook.io/v1
230+ kind : CephBlockPool
231+ metadata :
232+ name : lfa.rgw.buckets.data
233+ namespace : rook-ceph
234+ spec :
235+ application : rgw
236+ erasureCoded :
237+ dataChunks : 8
238+ codingChunks : 3
239+ failureDomain : host
240+ parameters :
241+ nodelete : " true"
242+ nosizechange : " true"
243+ pg_autoscale_mode : " off"
244+ bulk : " true"
245+ pg_num : " 512"
246+ ---
247+ apiVersion : storage.k8s.io/v1
248+ kind : StorageClass
249+ metadata :
250+ name : lfa
251+ provisioner : rook-ceph.ceph.rook.io/bucket
252+ parameters :
253+ objectStoreName : lfa
254+ objectStoreNamespace : rook-ceph
255+ reclaimPolicy : Retain
0 commit comments