Modify helm chart for nonrtric-controlpanel
[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 controlpanel:
86   controlpanel:
87     imagePullPolicy: IfNotPresent
88     image:
89       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
90       name: nonrtric-controlpanel
91       tag: 2.2.0
92     replicaCount: 1
93     service:
94       allowHttp: true
95       httpName: http
96       internalPort1: 8080
97       targetPort1: 8080
98       externalPort1: 30091
99       httpsName: https
100       internalPort2: 8081
101       targetPort2: 8082
102       externalPort2: 30092
103     liveness:
104       initialDelaySeconds: 20
105       periodSeconds: 10
106     readiness:
107       initialDelaySeconds: 20
108       periodSeconds: 10
109
110 # Need to check the external port Availability
111 policymanagementservice:
112   policymanagementservice:
113     imagePullPolicy: IfNotPresent
114     image:
115       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
116       name: nonrtric-policy-agent
117       tag: 2.2.0
118     service:
119       allowHttp: true
120       httpName: http
121       internalPort1: 9080
122       targetPort1: 8081
123       httpsName: https
124       internalPort2: 9081
125       targetPort2: 8433
126     liveness:
127       initialDelaySeconds: 20
128       periodSeconds: 10
129     readiness:
130       initialDelaySeconds: 20
131       periodSeconds: 10
132     ric: |
133       [
134         {
135              "name":"ric1",
136              "baseUrl":"https://a1-sim-osc-0.a1-sim:8185",
137              "controller": "controller1",
138              "managedElementIds":[
139                 "kista_1",
140                 "kista_2"
141              ]
142           },
143           {
144             "name":"ric2",
145             "baseUrl":"https://a1-sim-osc-1.a1-sim:8185",
146             "controller": "controller1",
147             "managedElementIds":[
148                "kista_1",
149                "kista_2"
150             ]
151           },
152           {
153             "name":"ric3",
154             "baseUrl":"https://a1-sim-std-0.a1-sim:8185",
155             "controller": "controller1",
156             "managedElementIds":[
157                "kista_1",
158                "kista_2"
159             ]
160           },
161           {
162             "name":"ric4",
163             "baseUrl":"https://a1-sim-std-1.a1-sim:8185",
164             "controller": "controller1",
165             "managedElementIds":[
166                "kista_1",
167                "kista_2"
168             ]
169           },
170           {
171             "name":"ric5",
172             "baseUrl":"https://a1-sim-std2-0.a1-sim:8185",
173             "controller": "controller1",
174             "managedElementIds":[
175                "kista_1",
176                "kista_2"
177             ]
178           },
179           {
180             "name":"ric6",
181             "baseUrl":"https://a1-sim-std2-1.a1-sim:8185",
182             "controller": "controller1",
183             "managedElementIds":[
184                "kista_1",
185                "kista_2"
186             ]
187           }
188       ]
189     streams_publishes: |
190       {
191         "dmaap_publisher": {
192           "type":"message_router",
193           "dmaap_info":{
194             "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-WRITE"
195           }
196         }
197       }
198     streams_subscribes: |
199       {
200         "dmaap_subscriber":{
201           "type":"message_router",
202           "dmaap_info":{
203             "topic_url":"http://message-router.onap:3904/events/A1-POLICY-AGENT-READ/users/policy-agent?timeout=15000&limit=100"
204           }
205         }
206       }
207
208 enrichmentservice:
209   enrichmentservice:
210     imagePullPolicy: IfNotPresent
211     image:
212       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
213       name: 'nonrtric-enrichment-coordinator-service'
214       tag: 1.0.0
215     service:
216       allowHttp: true
217       httpName: http
218       internalPort1: 9082
219       targetPort1: 8083
220       httpsName: https
221       internalPort2: 9083
222       targetPort2: 8434
223     liveness:
224       initialDelaySeconds: 20
225       periodSeconds: 10
226     readiness:
227       initialDelaySeconds: 20
228       periodSeconds: 10
229     persistence:
230       enabled: true
231       volumeReclaimPolicy: Retain
232       accessMode: ReadWriteOnce
233       size: 2Gi
234       mountPath: /dockerdata-nfs
235       mountSubPath: nonrtric/enrichmentservice
236
237 rappcatalogueservice:
238   rappcatalogueservice:
239     imagePullPolicy: IfNotPresent
240     image:
241       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
242       name: nonrtric-r-app-catalogue
243       tag: 1.0.0
244     service:
245       allowHttp: true
246       httpName: http
247       internalPort1: 9085
248       targetPort1: 8080
249       httpsName: https
250       internalPort2: 9086
251       targetPort2: 8433
252     liveness:
253       initialDelaySeconds: 20
254       periodSeconds: 10
255     readiness:
256       initialDelaySeconds: 20
257       periodSeconds: 10
258
259 nonrtricgateway:
260   nonrtricgateway:
261     imagePullPolicy: IfNotPresent
262     image:
263       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
264       name: nonrtric-gateway
265       tag: 0.0.1
266     service:
267       httpName: http
268       internalPort1: 9090
269       targetPort1: 9090
270       externalPort1: 30093
271     liveness:
272       initialDelaySeconds: 20
273       periodSeconds: 10
274     readiness:
275       initialDelaySeconds: 20
276       periodSeconds: 10