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