Add ORU ODU helm charts to nonrtric deployement
[it/dep.git] / nonrtric / RECIPE_EXAMPLE / example_recipe.yaml
1 ################################################################################
2 #   Copyright (c) 2020 Nordix Foundation.                                      #
3 #                                                                              #
4 #   Licensed under the Apache License, Version 2.0 (the "License");            #
5 #   you may not use this file except in compliance with the License.           #
6 #   You may obtain a copy of the License at                                    #
7 #                                                                              #
8 #       http://www.apache.org/licenses/LICENSE-2.0                             #
9 #                                                                              #
10 #   Unless required by applicable law or agreed to in writing, software        #
11 #   distributed under the License is distributed on an "AS IS" BASIS,          #
12 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
13 #   See the License for the specific language governing permissions and        #
14 #   limitations under the License.                                             #
15 ################################################################################
16
17 #-------------------------------------------------------------------------
18 # Global common setting
19 #-------------------------------------------------------------------------
20
21
22 # Here you can enable inclusion or exclusion of each component. A not enabled component will not be installed.
23 nonrtric:
24   installPms: true
25   installA1controller: true
26   installA1simulator: true
27   installControlpanel: true
28   installInformationservice: true
29   installRappcatalogueservice: true
30   installNonrtricgateway: true
31   installKong: false
32   installDmaapadapterservice: true
33   installDmaapmediatorservice: true
34   installHelmmanager: true
35   installOruclosedlooprecovery: true
36   installOdusliceassurance: true
37   volume1:
38     # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
39     size: 2Gi
40     storageClassName: pms-storage
41   volume2:
42      # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
43     size: 2Gi
44     storageClassName: ics-storage
45   volume3:
46     size: 1Gi
47     storageClassName: helmmanager-storage
48
49 common:
50   releasePrefix: r3-dev-nonrtric
51 # Do not change the namespace
52   namespace:
53     nonrtric: nonrtric
54   ingressClassName: kong
55
56 informationservice:
57   informationservice:
58     imagePullPolicy: Always
59     image:
60       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
61       name: 'nonrtric-information-coordinator-service'
62       tag: 1.2.0
63     service:
64       allowHttp: true
65       httpName: http
66       internalPort1: 9082
67       targetPort1: 8083
68       httpsName: https
69       internalPort2: 9083
70       targetPort2: 8434
71     liveness:
72       initialDelaySeconds: 20
73       periodSeconds: 10
74     readiness:
75       initialDelaySeconds: 20
76       periodSeconds: 10
77     persistence:
78       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same.
79       # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be for instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
80       size: 2Gi
81       storageClassName: ics-storage
82     ingress:
83       enabled: true
84
85 # Need to check the external port Availability
86 policymanagementservice:
87   policymanagementservice:
88     imagePullPolicy: Always
89     image:
90       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
91       name: nonrtric-a1-policy-management-service
92       tag: 2.3.0
93     service:
94       allowHttp: true
95       httpName: http
96       internalPort1: 9080
97       targetPort1: 8081
98       httpsName: https
99       internalPort2: 9081
100       targetPort2: 8433
101     liveness:
102       initialDelaySeconds: 20
103       periodSeconds: 10
104     readiness:
105       initialDelaySeconds: 20
106       periodSeconds: 10
107     persistence:
108       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same.
109       # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be for instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
110       size: 2Gi
111       storageClassName: pms-storage
112     ingress:
113       enabled: true
114
115 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
116 a1controller:
117   a1controller:
118     imagePullPolicy: Always
119     image:
120       registry: 'nexus3.onap.org:10002/onap'
121       name: sdnc-image
122       tag: 2.1.6
123     replicaCount: 1
124     service:
125       allowHttp: true
126       httpName: http
127       internalPort1: 8282
128       targetPort1: 8181
129       httpsName: https
130       internalPort2: 8383
131       targetPort2: 8443
132     liveness:
133       initialDelaySeconds: 300
134       periodSeconds: 10
135     readiness:
136       initialDelaySeconds: 60
137       periodSeconds: 10
138
139 a1simulator:
140   a1simulator:
141     name: a1-sim
142     imagePullPolicy: Always
143     image:
144       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
145       name: a1-simulator
146       tag: 2.2.0
147     service:
148       allowHttp: true
149       httpName: http
150       internalPort1: 8085
151       targetPort1: 8085
152       httpsName: https
153       internalPort2: 8185
154       targetPort2: 8185
155     liveness:
156       initialDelaySeconds: 20
157       periodSeconds: 10
158     readiness:
159       initialDelaySeconds: 20
160       periodSeconds: 10
161     oscVersion:
162       name: a1-sim-osc
163       replicaCount: 2
164     stdVersion:
165       name: a1-sim-std
166       replicaCount: 2
167     stdVersion2:
168       name: a1-sim-std2
169       replicaCount: 2
170
171 controlpanel:
172   controlpanel:
173     imagePullPolicy: Always
174     image:
175       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
176       name: nonrtric-controlpanel
177       tag: 2.3.0
178     replicaCount: 1
179     service:
180       allowHttp: true
181       httpName: http
182       internalPort1: 8080
183       targetPort1: 8080
184       externalPort1: 30091
185       httpsName: https
186       internalPort2: 8081
187       targetPort2: 8082
188       externalPort2: 30092
189     liveness:
190       initialDelaySeconds: 20
191       periodSeconds: 10
192     readiness:
193       initialDelaySeconds: 20
194       periodSeconds: 10
195     ingress:
196       enabled: false
197
198 rappcatalogueservice:
199   rappcatalogueservice:
200     imagePullPolicy: Always
201     image:
202       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
203       name: nonrtric-r-app-catalogue
204       tag: 1.0.1
205     service:
206       allowHttp: true
207       httpName: http
208       internalPort1: 9085
209       targetPort1: 8680
210       httpsName: https
211       internalPort2: 9086
212       targetPort2: 8633
213     liveness:
214       initialDelaySeconds: 20
215       periodSeconds: 10
216     readiness:
217       initialDelaySeconds: 20
218       periodSeconds: 10
219
220 nonrtricgateway:
221   nonrtricgateway:
222     imagePullPolicy: Always
223     image:
224       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
225       name: nonrtric-gateway
226       tag: 1.0.0
227     service:
228       httpName: http
229       internalPort1: 9090
230       targetPort1: 9090
231       externalPort1: 30093
232     liveness:
233       initialDelaySeconds: 20
234       periodSeconds: 10
235     readiness:
236       initialDelaySeconds: 20
237       periodSeconds: 10
238
239 dmaapadapterservice:
240   dmaapadapterservice:
241     imagePullPolicy: Always
242     image:
243       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
244       name: 'nonrtric-dmaap-adaptor'
245       tag: 1.0.0
246     service:
247       allowHttp: true
248       httpName: http
249       internalPort1: 9087
250       targetPort1: 8084
251       httpsName: https
252       internalPort2: 9088
253       targetPort2: 8435
254     liveness:
255       initialDelaySeconds: 20
256       periodSeconds: 10
257     readiness:
258       initialDelaySeconds: 20
259       periodSeconds: 10
260
261 dmaapmediatorservice:
262   dmaapmediatorservice:
263     imagePullPolicy: IfNotPresent
264     image:
265       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
266       name: "nonrtric-dmaap-mediator-producer"
267       tag: 1.0.0
268     service:
269       allowHttp: true
270       httpName: http
271       internalPort1: 8085
272       targetPort1: 8085
273       httpsName: https
274       internalPort2: 8185
275       targetPort2: 8185
276     liveness:
277       initialDelaySeconds: 20
278       periodSeconds: 10
279     readiness:
280       initialDelaySeconds: 20
281       periodSeconds: 10
282
283 helmmanager:
284   helmmanager:
285     clusterRoleName: cluster-admin
286     imagePullPolicy: Always
287     image:
288       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
289       name: "nonrtric-helm-manager"
290       tag: 1.1.0
291     service:
292       httpName: http
293       internalPort1: 8112
294       targetPort1: 8083
295     liveness:
296       initialDelaySeconds: 20
297       periodSeconds: 10
298     readiness:
299       initialDelaySeconds: 20
300       periodSeconds: 10
301     persistence:
302       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same.
303       # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be for instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
304       size: 1Gi
305       storageClassName: helmmanager-storage
306
307 odusliceassurance:
308   odusliceassurance:
309     imagePullPolicy: IfNotPresent
310     image:
311       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
312       name: "nonrtric-o-du-slice-assurance"
313       tag: 1.0.0
314     env:
315       mr_host: "http://onap-dmaap"
316       mr_port: "3904"
317       sdnr_address: "http://sdnr:8181"
318       sdnr_user: "admin"
319       sdnr_password: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
320       log_level: "Info"
321       polltime: "10"
322
323 oruclosedlooprecovery:
324   oruclosedlooprecovery:
325     imagePullPolicy: IfNotPresent
326     image:
327       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
328       name: "nonrtric-o-ru-closed-loop-recovery"
329       tag: 1.0.0
330     env:
331       consumer_host: "http://mrproducer"
332       consumer_port: "8095"
333       consumer_cert_path: "security/producer.crt"
334       consumer_key_path: "security/producer.key"
335       info_coord_addr: "http://ics:8083"
336       sdnr_address: "http://sdnr:8282"
337       sdnr_user: "admin"
338       sdnr_password: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
339       oru_to_odu_map_file: "o-ru-to-o-du-map.csv"
340       log_level: "Info"