1+ {
2+ "$schema" : " http://json-schema.org/schema#" ,
3+ "type" : " object" ,
4+ "properties" : {
5+ "version" : {
6+ "title" : " Version" ,
7+ "description" : " RocketMQ version" ,
8+ "type" : " string" ,
9+ "default" : " 4.9.6" ,
10+ "enum" : [
11+ " 4.9.6"
12+ ]
13+ },
14+ "mode" : {
15+ "title" : " Mode" ,
16+ "description" : " RocketMQ cluster mode" ,
17+ "type" : " string" ,
18+ "default" : " master-slave" ,
19+ "enum" : [
20+ " master-slave"
21+ ]
22+ },
23+ "cpu" : {
24+ "title" : " CPU" ,
25+ "description" : " CPU cores" ,
26+ "type" : [
27+ " number" ,
28+ " string"
29+ ],
30+ "default" : 2 ,
31+ "minimum" : 2 ,
32+ "maximum" : 64 ,
33+ "multipleOf" : 1
34+ },
35+ "memory" : {
36+ "title" : " Memory(Gi)" ,
37+ "description" : " Memory, the unit is Gi" ,
38+ "type" : [
39+ " number" ,
40+ " string"
41+ ],
42+ "default" : 4 ,
43+ "minimum" : 4 ,
44+ "maximum" : 1000
45+ },
46+ "storage" : {
47+ "title" : " Storage(Gi)" ,
48+ "description" : " Storage size, the unit is Gi" ,
49+ "type" : [
50+ " number" ,
51+ " string"
52+ ],
53+ "default" : 20 ,
54+ "minimum" : 10 ,
55+ "maximum" : 10000
56+ },
57+ "broker" : {
58+ "title" : " Broker Configuration" ,
59+ "description" : " RocketMQ broker configuration" ,
60+ "type" : " object" ,
61+ "properties" : {
62+ "replicas" : {
63+ "title" : " Broker Replicas" ,
64+ "description" : " The number of broker replicas" ,
65+ "type" : " integer" ,
66+ "default" : 1 ,
67+ "minimum" : 1 ,
68+ "maximum" : 10
69+ },
70+ "shardCount" : {
71+ "title" : " Shard Count" ,
72+ "description" : " The number of broker shards" ,
73+ "type" : " integer" ,
74+ "default" : 1 ,
75+ "minimum" : 1 ,
76+ "maximum" : 10
77+ },
78+ "enableAcl" : {
79+ "title" : " Enable ACL" ,
80+ "description" : " Enable Access Control List" ,
81+ "type" : " boolean" ,
82+ "default" : false
83+ },
84+ "enableDledger" : {
85+ "title" : " Enable DLedger" ,
86+ "description" : " Enable DLedger for broker" ,
87+ "type" : " boolean" ,
88+ "default" : false
89+ }
90+ }
91+ },
92+ "namesrv" : {
93+ "title" : " NameServer Configuration" ,
94+ "description" : " RocketMQ NameServer configuration" ,
95+ "type" : " object" ,
96+ "properties" : {
97+ "replicas" : {
98+ "title" : " NameServer Replicas" ,
99+ "description" : " The number of NameServer replicas" ,
100+ "type" : " integer" ,
101+ "default" : 1 ,
102+ "minimum" : 1 ,
103+ "maximum" : 5
104+ }
105+ }
106+ },
107+ "dashboardEnable" : {
108+ "title" : " Enable Dashboard" ,
109+ "description" : " Enable RocketMQ dashboard" ,
110+ "type" : " boolean" ,
111+ "default" : true
112+ },
113+ "dashboard" : {
114+ "title" : " Dashboard Configuration" ,
115+ "description" : " RocketMQ dashboard configuration" ,
116+ "type" : " object" ,
117+ "properties" : {
118+ "replicas" : {
119+ "title" : " Dashboard Replicas" ,
120+ "description" : " The number of dashboard replicas" ,
121+ "type" : " integer" ,
122+ "default" : 1 ,
123+ "minimum" : 1 ,
124+ "maximum" : 1
125+ },
126+ "request" : {
127+ "title" : " Dashboard Request Resources" ,
128+ "description" : " Dashboard requested resources" ,
129+ "type" : " object" ,
130+ "properties" : {
131+ "cpu" : {
132+ "title" : " Dashboard Request CPU" ,
133+ "description" : " Dashboard requested CPU cores" ,
134+ "type" : [
135+ " number" ,
136+ " string"
137+ ],
138+ "default" : 0.1 ,
139+ "minimum" : 0.1 ,
140+ "maximum" : 8
141+ },
142+ "memory" : {
143+ "title" : " Dashboard Request Memory(Gi)" ,
144+ "description" : " Dashboard requested memory, the unit is Gi" ,
145+ "type" : [
146+ " number" ,
147+ " string"
148+ ],
149+ "default" : 1 ,
150+ "minimum" : 0.5 ,
151+ "maximum" : 16
152+ }
153+ }
154+ },
155+ "limit" : {
156+ "title" : " Dashboard Limit Resources" ,
157+ "description" : " Dashboard resource limits" ,
158+ "type" : " object" ,
159+ "properties" : {
160+ "cpu" : {
161+ "title" : " Dashboard CPU Limit" ,
162+ "description" : " Dashboard CPU limit" ,
163+ "type" : [
164+ " number" ,
165+ " string"
166+ ],
167+ "default" : 1 ,
168+ "minimum" : 0.5 ,
169+ "maximum" : 8
170+ },
171+ "memory" : {
172+ "title" : " Dashboard Memory Limit(Gi)" ,
173+ "description" : " Dashboard memory limit, the unit is Gi" ,
174+ "type" : [
175+ " number" ,
176+ " string"
177+ ],
178+ "default" : 1 ,
179+ "minimum" : 0.5 ,
180+ "maximum" : 16
181+ }
182+ }
183+ }
184+ }
185+ },
186+ "monitorEnable" : {
187+ "title" : " Enable Monitor" ,
188+ "description" : " Enable RocketMQ monitoring" ,
189+ "type" : " boolean" ,
190+ "default" : true
191+ },
192+ "monitor" : {
193+ "title" : " Monitor Configuration" ,
194+ "description" : " RocketMQ monitoring configuration" ,
195+ "type" : " object" ,
196+ "properties" : {
197+ "replicas" : {
198+ "title" : " Monitor Replicas" ,
199+ "description" : " The number of monitor replicas" ,
200+ "type" : " integer" ,
201+ "default" : 1 ,
202+ "minimum" : 1 ,
203+ "maximum" : 1
204+ },
205+ "request" : {
206+ "title" : " Monitor Request Resources" ,
207+ "description" : " Monitor requested resources" ,
208+ "type" : " object" ,
209+ "properties" : {
210+ "cpu" : {
211+ "title" : " Monitor Request CPU" ,
212+ "description" : " Monitor requested CPU cores" ,
213+ "type" : [
214+ " number" ,
215+ " string"
216+ ],
217+ "default" : 0.1 ,
218+ "minimum" : 0.1 ,
219+ "maximum" : 8
220+ },
221+ "memory" : {
222+ "title" : " Monitor Request Memory(Gi)" ,
223+ "description" : " Monitor requested memory, the unit is Gi" ,
224+ "type" : [
225+ " number" ,
226+ " string"
227+ ],
228+ "default" : 1 ,
229+ "minimum" : 0.5 ,
230+ "maximum" : 16
231+ }
232+ }
233+ },
234+ "limit" : {
235+ "title" : " Monitor Limit Resources" ,
236+ "description" : " Monitor resource limits" ,
237+ "type" : " object" ,
238+ "properties" : {
239+ "cpu" : {
240+ "title" : " Monitor CPU Limit" ,
241+ "description" : " Monitor CPU limit" ,
242+ "type" : [
243+ " number" ,
244+ " string"
245+ ],
246+ "default" : 1 ,
247+ "minimum" : 0.5 ,
248+ "maximum" : 8
249+ },
250+ "memory" : {
251+ "title" : " Monitor Memory Limit(Gi)" ,
252+ "description" : " Monitor memory limit, the unit is Gi" ,
253+ "type" : [
254+ " number" ,
255+ " string"
256+ ],
257+ "default" : 1 ,
258+ "minimum" : 0.5 ,
259+ "maximum" : 16
260+ }
261+ }
262+ }
263+ }
264+ },
265+ "requests" : {
266+ "title" : " Requested Resources" ,
267+ "description" : " Requested resources for the cluster" ,
268+ "type" : " object" ,
269+ "properties" : {
270+ "cpu" : {
271+ "title" : " Requested CPU" ,
272+ "description" : " Requested CPU cores, if not set, use cpu" ,
273+ "type" : [
274+ " number" ,
275+ " string"
276+ ],
277+ "default" : 1 ,
278+ "minimum" : 0.5 ,
279+ "maximum" : 64
280+ },
281+ "memory" : {
282+ "title" : " Requested Memory(Gi)" ,
283+ "description" : " Requested memory, if not set, use memory, the unit is Gi" ,
284+ "type" : [
285+ " number" ,
286+ " string"
287+ ],
288+ "default" : 1 ,
289+ "minimum" : 0.5 ,
290+ "maximum" : 1000
291+ }
292+ }
293+ }
294+ }
295+ }
0 commit comments