Add helm chart for nonrtric-gateway
[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 common:
22   releasePrefix: r2-dev-nonrtric
23 # Change the namespaces using the following options
24   namespace:
25     nonrtric: nonrtric
26
27 component: nonrtric
28
29 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
30 a1controller:
31   a1controller:
32     imagePullPolicy: IfNotPresent
33     image:
34       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
35       name: nonrtric-a1-controller
36       tag: 2.0.1
37     replicaCount: 1
38     service:
39       allowHttp: true
40       httpName: http
41       internalPort1: 8282
42       targetPort1: 8181
43       httpsName: https
44       internalPort2: 8383
45       targetPort2: 8443
46     liveness:
47       initialDelaySeconds: 300
48       periodSeconds: 10
49     readiness:
50       initialDelaySeconds: 60
51       periodSeconds: 10
52
53 a1simulator:
54   a1simulator:
55     name: a1-sim
56     imagePullPolicy: IfNotPresent
57     image:
58       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
59       name: a1-simulator
60       tag: 2.1.0
61     service:
62       allowHttp: true
63       httpName: http
64       internalPort1: 8085
65       targetPort1: 8085
66       httpsName: https
67       internalPort2: 8185
68       targetPort2: 8185
69     liveness:
70       initialDelaySeconds: 20
71       periodSeconds: 10
72     readiness:
73       initialDelaySeconds: 20
74       periodSeconds: 10
75     oscVersion:
76       name: a1-sim-osc
77       replicaCount: 2
78     stdVersion:
79       name: a1-sim-std
80       replicaCount: 2
81     stdVersion2:
82       name: a1-sim-std2
83       replicaCount: 2
84
85 # image registry and tag to be changed after first release of controlpanel
86 # Need to check the external port Availability
87 controlpanel:
88   controlpanel:
89     imagePullPolicy: IfNotPresent
90     image:
91       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
92       name: nonrtric-controlpanel
93       tag: 2.1.0
94     replicaCount: 1
95     service:
96       allowHttp: true
97       httpName: http
98       internalPort1: 8080
99       targetPort1: 8080
100       externalPort1: 30091
101       httpsName: https
102       internalPort2: 8081
103       targetPort2: 8082
104       externalPort2: 30092
105     liveness:
106       initialDelaySeconds: 20
107       periodSeconds: 10
108     readiness:
109       initialDelaySeconds: 20
110       periodSeconds: 10
111
112 # Need to check the external port Availability
113 policymanagementservice:
114   policymanagementservice:
115     imagePullPolicy: IfNotPresent
116     image:
117       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
118       name: nonrtric-policy-agent
119       tag: 2.2.0
120     service:
121       allowHttp: true
122       httpName: http
123       internalPort1: 9080
124       targetPort1: 8081
125       httpsName: https
126       internalPort2: 9081
127       targetPort2: 8433
128     liveness:
129       initialDelaySeconds: 20
130       periodSeconds: 10
131     readiness:
132       initialDelaySeconds: 20
133       periodSeconds: 10
134     ric: |
135       [
136         {
137              "name":"ric1",
138              "baseUrl":"https://a1-sim-osc-0.a1-sim:8185",
139              "controller": "controller1",
140              "managedElementIds":[
141                 "kista_1",
142                 "kista_2"
143              ]
144           },
145           {
146             "name":"ric2",
147             "baseUrl":"https://a1-sim-osc-1.a1-sim:8185",
148             "controller": "controller1",
149             "managedElementIds":[
150                "kista_1",
151                "kista_2"
152             ]
153           },
154           {
155             "name":"ric3",
156             "baseUrl":"https://a1-sim-std-0.a1-sim:8185",
157             "controller": "controller1",
158             "managedElementIds":[
159                "kista_1",
160                "kista_2"
161             ]
162           },
163           {
164             "name":"ric4",
165             "baseUrl":"https://a1-sim-std-1.a1-sim:8185",
166             "controller": "controller1",
167             "managedElementIds":[
168                "kista_1",
169                "kista_2"
170             ]
171           },
172           {
173             "name":"ric5",
174             "baseUrl":"https://a1-sim-std2-0.a1-sim:8185",
175             "controller": "controller1",
176             "managedElementIds":[
177                "kista_1",
178                "kista_2"
179             ]
180           },
181           {
182             "name":"ric6",
183             "baseUrl":"https://a1-sim-std2-1.a1-sim:8185",
184             "controller": "controller1",
185             "managedElementIds":[
186                "kista_1",
187                "kista_2"
188             ]
189           }
190       ]
191     streams_publishes: |
192       {
193         "dmaap_publisher": {
194           "type":"message_router",
195           "dmaap_info":{
196             "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-WRITE"
197           }
198         }
199       }
200     streams_subscribes: |
201       {
202         "dmaap_subscriber":{
203           "type":"message_router",
204           "dmaap_info":{
205             "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100"
206           }
207         }
208       }
209
210 enrichmentservice:
211   enrichmentservice:
212     imagePullPolicy: IfNotPresent
213     image:
214       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
215       name: 'nonrtric-enrichment-coordinator-service'
216       tag: 1.0.0
217     service:
218       allowHttp: true
219       httpName: http
220       internalPort1: 9082
221       targetPort1: 8083
222       httpsName: https
223       internalPort2: 9083
224       targetPort2: 8434
225     liveness:
226       initialDelaySeconds: 20
227       periodSeconds: 10
228     readiness:
229       initialDelaySeconds: 20
230       periodSeconds: 10
231     persistence:
232       enabled: true
233       volumeReclaimPolicy: Retain
234       accessMode: ReadWriteOnce
235       size: 2Gi
236       mountPath: /dockerdata-nfs
237       mountSubPath: nonrtric/enrichmentservice
238
239 rappcatalogueservice:
240   rappcatalogueservice:
241     imagePullPolicy: IfNotPresent
242     image:
243       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
244       name: nonrtric-r-app-catalogue
245       tag: 1.0.0
246     service:
247       allowHttp: true
248       httpName: http
249       internalPort1: 9085
250       targetPort1: 8080
251       httpsName: https
252       internalPort2: 9086
253       targetPort2: 8433
254     liveness:
255       initialDelaySeconds: 20
256       periodSeconds: 10
257     readiness:
258       initialDelaySeconds: 20
259       periodSeconds: 10
260
261 nonrtricgateway:
262   nonrtricgateway:
263     imagePullPolicy: IfNotPresent
264     image:
265       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
266       name: nonrtric-gateway
267       tag: 0.0.1
268     service:
269       httpName: http
270       internalPort1: 9090
271       targetPort1: 9090
272       externalPort1: 30093
273     liveness:
274       initialDelaySeconds: 20
275       periodSeconds: 10
276     readiness:
277       initialDelaySeconds: 20
278       periodSeconds: 10