Install Kong on Nonrtric deployment
[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
150 enrichmentservice:
151   enrichmentservice:
152     imagePullPolicy: IfNotPresent
153     image:
154       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
155       name: 'nonrtric-enrichment-coordinator-service'
156       tag: 1.1.0
157     service:
158       allowHttp: true
159       httpName: http
160       internalPort1: 9082
161       targetPort1: 8083
162       httpsName: https
163       internalPort2: 9083
164       targetPort2: 8434
165     liveness:
166       initialDelaySeconds: 20
167       periodSeconds: 10
168     readiness:
169       initialDelaySeconds: 20
170       periodSeconds: 10
171     persistence:
172       enabled: true
173       volumeReclaimPolicy: Retain
174       accessMode: ReadWriteOnce
175       size: 2Gi
176       mountPath: /dockerdata-nfs
177       mountSubPath: nonrtric/enrichmentservice
178
179 rappcatalogueservice:
180   rappcatalogueservice:
181     imagePullPolicy: IfNotPresent
182     image:
183       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
184       name: nonrtric-r-app-catalogue
185       tag: 1.0.0
186     service:
187       allowHttp: true
188       httpName: http
189       internalPort1: 9085
190       targetPort1: 8080
191       httpsName: https
192       internalPort2: 9086
193       targetPort2: 8433
194     liveness:
195       initialDelaySeconds: 20
196       periodSeconds: 10
197     readiness:
198       initialDelaySeconds: 20
199       periodSeconds: 10
200
201 nonrtricgateway:
202   nonrtricgateway:
203     imagePullPolicy: IfNotPresent
204     image:
205       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
206       name: nonrtric-gateway
207       tag: 0.0.1
208     service:
209       httpName: http
210       internalPort1: 9090
211       targetPort1: 9090
212       externalPort1: 30093
213     liveness:
214       initialDelaySeconds: 20
215       periodSeconds: 10
216     readiness:
217       initialDelaySeconds: 20
218       periodSeconds: 10