24f3a8ff6c7cc34aa03058aa1590ad8745fe8b07
[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 installed component will not be installed.
23 nonrtric:
24   installPms: true
25   installA1controller: false
26   installA1simulator: false
27   installControlpanel: true
28   installEnrichmentservice: true
29   installRappcatalogueservice: false
30   installNonrtricgateway: true
31   installKong: false
32   installDmaapAdapterservice: true
33   volume1:
34     # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning)
35     size: 2Gi
36     storageClassName: pms-storage
37   volume2:
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: ecs-storage
41
42 common:
43   releasePrefix: r3-dev-nonrtric
44 # Do not change the namespace
45   namespace:
46     nonrtric: nonrtric
47   ingressClassName: kong
48 enrichmentservice:
49   enrichmentservice:
50     imagePullPolicy: IfNotPresent
51     image:
52       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
53       name: 'nonrtric-enrichment-coordinator-service'
54       tag: 1.2.0
55     service:
56       allowHttp: true
57       httpName: http
58       internalPort1: 9082
59       targetPort1: 8083
60       httpsName: https
61       internalPort2: 9083
62       targetPort2: 8434
63     liveness:
64       initialDelaySeconds: 20
65       periodSeconds: 10
66     readiness:
67       initialDelaySeconds: 20
68       periodSeconds: 10
69     persistence:
70       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same. 
71       # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be fon instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
72       size: 2Gi
73       storageClassName: ecs-storage
74
75 # Need to check the external port Availability
76 policymanagementservice:
77   policymanagementservice:
78     imagePullPolicy: IfNotPresent
79     image:
80       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
81       name: nonrtric-policy-agent
82       tag: 2.2.1
83     service:
84       allowHttp: true
85       httpName: http
86       internalPort1: 9080
87       targetPort1: 8081
88       httpsName: https
89       internalPort2: 9081
90       targetPort2: 8433
91     liveness:
92       initialDelaySeconds: 20
93       periodSeconds: 10
94     readiness:
95       initialDelaySeconds: 20
96       periodSeconds: 10
97     persistence:
98       # Either refer to a volume created under the nonrtric by storageClassName. Then the claimed size should be the same. 
99       # The alternative use a dynamic volume provisioner in the cluster. Storage class can then be fon instance 'standard' or 'gluster-fs' (depeneds on which classes that are available)
100       size: 2Gi
101       storageClassName: pms-storage
102
103
104 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
105 a1controller:
106   a1controller:
107     imagePullPolicy: IfNotPresent
108     image:
109       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
110       name: nonrtric-a1-controller
111       tag: 2.0.1
112     replicaCount: 1
113     service:
114       allowHttp: true
115       httpName: http
116       internalPort1: 8282
117       targetPort1: 8181
118       httpsName: https
119       internalPort2: 8383
120       targetPort2: 8443
121     liveness:
122       initialDelaySeconds: 300
123       periodSeconds: 10
124     readiness:
125       initialDelaySeconds: 60
126       periodSeconds: 10
127
128 a1simulator:
129   a1simulator:
130     name: a1-sim
131     imagePullPolicy: IfNotPresent
132     image:
133       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
134       name: a1-simulator
135       tag: 2.1.0
136     service:
137       allowHttp: true
138       httpName: http
139       internalPort1: 8085
140       targetPort1: 8085
141       httpsName: https
142       internalPort2: 8185
143       targetPort2: 8185
144     liveness:
145       initialDelaySeconds: 20
146       periodSeconds: 10
147     readiness:
148       initialDelaySeconds: 20
149       periodSeconds: 10
150     oscVersion:
151       name: a1-sim-osc
152       replicaCount: 2
153     stdVersion:
154       name: a1-sim-std
155       replicaCount: 2
156     stdVersion2:
157       name: a1-sim-std2
158       replicaCount: 2
159
160 controlpanel:
161   controlpanel:
162     imagePullPolicy: IfNotPresent
163     image:
164       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
165       name: nonrtric-controlpanel
166       tag: 2.2.0
167     replicaCount: 1
168     service:
169       allowHttp: true
170       httpName: http
171       internalPort1: 8080
172       targetPort1: 8080
173       externalPort1: 30091
174       httpsName: https
175       internalPort2: 8081
176       targetPort2: 8082
177       externalPort2: 30092
178     liveness:
179       initialDelaySeconds: 20
180       periodSeconds: 10
181     readiness:
182       initialDelaySeconds: 20
183       periodSeconds: 10
184
185     ingress:
186       enabled: false
187     ingress:
188       enabled: false
189 rappcatalogueservice:
190   rappcatalogueservice:
191     imagePullPolicy: IfNotPresent
192     image:
193       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
194       name: nonrtric-r-app-catalogue
195       tag: 1.0.0
196     service:
197       allowHttp: true
198       httpName: http
199       internalPort1: 9085
200       targetPort1: 8080
201       httpsName: https
202       internalPort2: 9086
203       targetPort2: 8433
204     liveness:
205       initialDelaySeconds: 20
206       periodSeconds: 10
207     readiness:
208       initialDelaySeconds: 20
209       periodSeconds: 10
210
211 nonrtricgateway:
212   nonrtricgateway:
213     imagePullPolicy: IfNotPresent
214     image:
215       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
216       name: nonrtric-gateway
217       tag: 1.0.0
218     service:
219       httpName: http
220       internalPort1: 9090
221       targetPort1: 9090
222       externalPort1: 30093
223     liveness:
224       initialDelaySeconds: 20
225       periodSeconds: 10
226     readiness:
227       initialDelaySeconds: 20
228       periodSeconds: 10
229
230 dmaapadapterservice:
231   dmaapadapterservice:
232     imagePullPolicy: IfNotPresent
233     image:
234       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
235       name: 'nonrtric-dmaap-adaptor'
236       tag: 1.0.0
237     service:
238       allowHttp: true
239       httpName: http
240       internalPort1: 9087
241       targetPort1: 8084
242       httpsName: https
243       internalPort2: 9088
244       targetPort2: 8435
245     liveness:
246       initialDelaySeconds: 20
247       periodSeconds: 10
248     readiness:
249       initialDelaySeconds: 20
250       periodSeconds: 10