510ecb22b58af3860edc7fe78cffb0e1d2c1558a
[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     hostPath: /var/nonrtric/pms-storage
42   volume2:
43      # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
44     size: 2Gi
45     storageClassName: ics-storage
46     hostPath: /var/nonrtric/ics-storage
47   volume3:
48     size: 1Gi
49     storageClassName: helmmanager-storage
50 common:
51   releasePrefix: r3-dev-nonrtric
52 # Do not change the namespace
53   namespace:
54     nonrtric: nonrtric
55   ingressClassName: kong
56
57 informationservice:
58   informationservice:
59     imagePullPolicy: Always
60     image:
61       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
62       name: 'nonrtric-information-coordinator-service'
63       tag: 1.2.0
64     service:
65       allowHttp: true
66       httpName: http
67       internalPort1: 9082
68       targetPort1: 8083
69       httpsName: https
70       internalPort2: 9083
71       targetPort2: 8434
72     liveness:
73       initialDelaySeconds: 20
74       periodSeconds: 10
75     readiness:
76       initialDelaySeconds: 20
77       periodSeconds: 10
78     persistence:
79       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same.
80       # 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)
81       size: 2Gi
82       storageClassName: ics-storage
83     ingress:
84       enabled: true
85
86 # Need to check the external port Availability
87 policymanagementservice:
88   policymanagementservice:
89     imagePullPolicy: Always
90     image:
91       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
92       name: nonrtric-a1-policy-management-service
93       tag: 2.3.0
94     service:
95       allowHttp: true
96       httpName: http
97       internalPort1: 9080
98       targetPort1: 8081
99       httpsName: https
100       internalPort2: 9081
101       targetPort2: 8433
102     liveness:
103       initialDelaySeconds: 20
104       periodSeconds: 10
105     readiness:
106       initialDelaySeconds: 20
107       periodSeconds: 10
108     persistence:
109       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same.
110       # 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)
111       size: 2Gi
112       storageClassName: pms-storage
113     ingress:
114       enabled: true
115
116 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
117 a1controller:
118   a1controller:
119     imagePullPolicy: Always
120     image:
121       registry: 'nexus3.onap.org:10002/onap'
122       name: sdnc-image
123       tag: 2.1.6
124     replicaCount: 1
125     service:
126       allowHttp: true
127       httpName: http
128       internalPort1: 8282
129       targetPort1: 8181
130       httpsName: https
131       internalPort2: 8383
132       targetPort2: 8443
133     liveness:
134       initialDelaySeconds: 300
135       periodSeconds: 10
136     readiness:
137       initialDelaySeconds: 60
138       periodSeconds: 10
139
140 a1simulator:
141   a1simulator:
142     name: a1-sim
143     imagePullPolicy: Always
144     image:
145       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
146       name: a1-simulator
147       tag: 2.2.0
148     service:
149       allowHttp: true
150       httpName: http
151       internalPort1: 8085
152       targetPort1: 8085
153       httpsName: https
154       internalPort2: 8185
155       targetPort2: 8185
156     liveness:
157       initialDelaySeconds: 20
158       periodSeconds: 10
159     readiness:
160       initialDelaySeconds: 20
161       periodSeconds: 10
162     oscVersion:
163       name: a1-sim-osc
164       replicaCount: 2
165     stdVersion:
166       name: a1-sim-std
167       replicaCount: 2
168     stdVersion2:
169       name: a1-sim-std2
170       replicaCount: 2
171
172 controlpanel:
173   controlpanel:
174     imagePullPolicy: Always
175     image:
176       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
177       name: nonrtric-controlpanel
178       tag: 2.3.0
179     replicaCount: 1
180     service:
181       allowHttp: true
182       httpName: http
183       internalPort1: 8080
184       targetPort1: 8080
185       externalPort1: 30091
186       httpsName: https
187       internalPort2: 8081
188       targetPort2: 8082
189       externalPort2: 30092
190     liveness:
191       initialDelaySeconds: 20
192       periodSeconds: 10
193     readiness:
194       initialDelaySeconds: 20
195       periodSeconds: 10
196     ingress:
197       enabled: false
198
199 rappcatalogueservice:
200   rappcatalogueservice:
201     imagePullPolicy: Always
202     image:
203       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
204       name: nonrtric-r-app-catalogue
205       tag: 1.0.1
206     service:
207       allowHttp: true
208       httpName: http
209       internalPort1: 9085
210       targetPort1: 8680
211       httpsName: https
212       internalPort2: 9086
213       targetPort2: 8633
214     liveness:
215       initialDelaySeconds: 20
216       periodSeconds: 10
217     readiness:
218       initialDelaySeconds: 20
219       periodSeconds: 10
220
221 nonrtricgateway:
222   nonrtricgateway:
223     imagePullPolicy: Always
224     image:
225       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
226       name: nonrtric-gateway
227       tag: 1.0.0
228     service:
229       httpName: http
230       internalPort1: 9090
231       targetPort1: 9090
232       externalPort1: 30093
233     liveness:
234       initialDelaySeconds: 20
235       periodSeconds: 10
236     readiness:
237       initialDelaySeconds: 20
238       periodSeconds: 10
239
240 dmaapadapterservice:
241   dmaapadapterservice:
242     imagePullPolicy: Always
243     image:
244       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
245       name: 'nonrtric-dmaap-adaptor'
246       tag: 1.0.0
247     service:
248       allowHttp: true
249       httpName: http
250       internalPort1: 9087
251       targetPort1: 8084
252       httpsName: https
253       internalPort2: 9088
254       targetPort2: 8435
255     liveness:
256       initialDelaySeconds: 20
257       periodSeconds: 10
258     readiness:
259       initialDelaySeconds: 20
260       periodSeconds: 10
261
262 dmaapmediatorservice:
263   dmaapmediatorservice:
264     imagePullPolicy: IfNotPresent
265     image:
266       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
267       name: "nonrtric-dmaap-mediator-producer"
268       tag: 1.0.0
269     service:
270       allowHttp: true
271       httpName: http
272       internalPort1: 8085
273       targetPort1: 8085
274       httpsName: https
275       internalPort2: 8185
276       targetPort2: 8185
277     liveness:
278       initialDelaySeconds: 20
279       periodSeconds: 10
280     readiness:
281       initialDelaySeconds: 20
282       periodSeconds: 10
283
284 helmmanager:
285   helmmanager:
286     clusterRoleName: cluster-admin
287     imagePullPolicy: Always
288     image:
289       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
290       name: "nonrtric-helm-manager"
291       tag: 1.1.0
292     service:
293       httpName: http
294       internalPort1: 8112
295       targetPort1: 8083
296     liveness:
297       initialDelaySeconds: 20
298       periodSeconds: 10
299     readiness:
300       initialDelaySeconds: 20
301       periodSeconds: 10
302     persistence:
303       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same.
304       # 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)
305       size: 1Gi
306       storageClassName: helmmanager-storage
307
308 odusliceassurance:
309   odusliceassurance:
310     imagePullPolicy: IfNotPresent
311     image:
312       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
313       name: "nonrtric-o-du-slice-assurance"
314       tag: 1.0.0
315     env:
316       mr_host: "http://onap-dmaap"
317       mr_port: "3904"
318       sdnr_address: "http://sdnr:8181"
319       sdnr_user: "admin"
320       sdnr_password: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
321       log_level: "Info"
322       polltime: "10"
323
324 oruclosedlooprecovery:
325   oruclosedlooprecovery:
326     imagePullPolicy: IfNotPresent
327     image:
328       registry: "nexus3.o-ran-sc.org:10002/o-ran-sc"
329       name: "nonrtric-o-ru-closed-loop-recovery"
330       tag: 1.0.0
331     env:
332       consumer_host: "http://mrproducer"
333       consumer_port: "8095"
334       consumer_cert_path: "security/producer.crt"
335       consumer_key_path: "security/producer.key"
336       info_coord_addr: "http://ics:8083"
337       sdnr_address: "http://sdnr:8282"
338       sdnr_user: "admin"
339       sdnr_password: "Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U"
340       oru_to_odu_map_file: "o-ru-to-o-du-map.csv"
341       log_level: "Info"