Merge "Update script that generate test data for enrichment information"
[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 installd component will not be installed.
23 nonrtric:
24   installPms: true
25   installA1controller: false
26   installA1simulator: false
27   installControlpanel: false
28   installEnrichmentservice: true
29   installRappcatalogueservice: false
30   installNonrtricgateway: false
31
32 common:
33   releasePrefix: r2-dev-nonrtric
34 # Change the namespaces using the following options
35   namespace:
36     nonrtric: nonrtric
37   ingressClassName: kong
38   installKong: true
39
40 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
41 a1controller:
42   a1controller:
43     imagePullPolicy: IfNotPresent
44     image:
45       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
46       name: nonrtric-a1-controller
47       tag: 2.0.1
48     replicaCount: 1
49     service:
50       allowHttp: true
51       httpName: http
52       internalPort1: 8282
53       targetPort1: 8181
54       httpsName: https
55       internalPort2: 8383
56       targetPort2: 8443
57     liveness:
58       initialDelaySeconds: 300
59       periodSeconds: 10
60     readiness:
61       initialDelaySeconds: 60
62       periodSeconds: 10
63
64 a1simulator:
65   a1simulator:
66     name: a1-sim
67     imagePullPolicy: IfNotPresent
68     image:
69       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
70       name: a1-simulator
71       tag: 2.1.0
72     service:
73       allowHttp: true
74       httpName: http
75       internalPort1: 8085
76       targetPort1: 8085
77       httpsName: https
78       internalPort2: 8185
79       targetPort2: 8185
80     liveness:
81       initialDelaySeconds: 20
82       periodSeconds: 10
83     readiness:
84       initialDelaySeconds: 20
85       periodSeconds: 10
86     oscVersion:
87       name: a1-sim-osc
88       replicaCount: 2
89     stdVersion:
90       name: a1-sim-std
91       replicaCount: 2
92     stdVersion2:
93       name: a1-sim-std2
94       replicaCount: 2
95
96 controlpanel:
97   controlpanel:
98     imagePullPolicy: IfNotPresent
99     image:
100       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
101       name: nonrtric-controlpanel
102       tag: 2.2.0
103     replicaCount: 1
104     service:
105       allowHttp: true
106       httpName: http
107       internalPort1: 8080
108       targetPort1: 8080
109       externalPort1: 30091
110       httpsName: https
111       internalPort2: 8081
112       targetPort2: 8082
113       externalPort2: 30092
114     liveness:
115       initialDelaySeconds: 20
116       periodSeconds: 10
117     readiness:
118       initialDelaySeconds: 20
119       periodSeconds: 10
120
121 # Need to check the external port Availability
122 policymanagementservice:
123   policymanagementservice:
124     imagePullPolicy: IfNotPresent
125     image:
126       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
127       name: nonrtric-policy-agent
128       tag: 2.2.0
129     service:
130       allowHttp: true
131       httpName: http
132       internalPort1: 9080
133       targetPort1: 8081
134       httpsName: https
135       internalPort2: 9081
136       targetPort2: 8433
137     liveness:
138       initialDelaySeconds: 20
139       periodSeconds: 10
140     readiness:
141       initialDelaySeconds: 20
142       periodSeconds: 10
143     persistence:
144       volumeReclaimPolicy: Retain
145       accessMode: ReadWriteOnce
146       size: 2Gi
147       mountPath: /dockerdata-nfs
148       mountSubPath: nonrtric/policymanagementservice
149     ingress:
150       enabled: false
151
152 enrichmentservice:
153   enrichmentservice:
154     imagePullPolicy: IfNotPresent
155     image:
156       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
157       name: 'nonrtric-enrichment-coordinator-service'
158       tag: 1.1.0
159     service:
160       allowHttp: true
161       httpName: http
162       internalPort1: 9082
163       targetPort1: 8083
164       httpsName: https
165       internalPort2: 9083
166       targetPort2: 8434
167     liveness:
168       initialDelaySeconds: 20
169       periodSeconds: 10
170     readiness:
171       initialDelaySeconds: 20
172       periodSeconds: 10
173     persistence:
174       enabled: true
175       volumeReclaimPolicy: Retain
176       accessMode: ReadWriteOnce
177       size: 2Gi
178       mountPath: /dockerdata-nfs
179       mountSubPath: nonrtric/enrichmentservice
180     ingress:
181       enabled: false
182
183 rappcatalogueservice:
184   rappcatalogueservice:
185     imagePullPolicy: IfNotPresent
186     image:
187       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
188       name: nonrtric-r-app-catalogue
189       tag: 1.0.0
190     service:
191       allowHttp: true
192       httpName: http
193       internalPort1: 9085
194       targetPort1: 8080
195       httpsName: https
196       internalPort2: 9086
197       targetPort2: 8433
198     liveness:
199       initialDelaySeconds: 20
200       periodSeconds: 10
201     readiness:
202       initialDelaySeconds: 20
203       periodSeconds: 10
204
205 nonrtricgateway:
206   nonrtricgateway:
207     imagePullPolicy: IfNotPresent
208     image:
209       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
210       name: nonrtric-gateway
211       tag: 0.0.1
212     service:
213       httpName: http
214       internalPort1: 9090
215       targetPort1: 9090
216       externalPort1: 30093
217     liveness:
218       initialDelaySeconds: 20
219       periodSeconds: 10
220     readiness:
221       initialDelaySeconds: 20
222       periodSeconds: 10