Merge "Kong as Ingress Controller"
[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   ingressClassName: kong
27 # any nonrtric chart can be installed: nonrtric (all components), controlpanel, a1controller, a1simulator, policymanagementservice, 
28 # enrichmentservice, rappcatalogueservice, nonrtricgateway
29 component: nonrtric
30
31 # A1 Conttroller may take few more minutes to start. Increase the initialDelaySeconds in liveness to avoid container restart.
32 a1controller:
33   a1controller:
34     imagePullPolicy: IfNotPresent
35     image:
36       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
37       name: nonrtric-a1-controller
38       tag: 2.0.1
39     replicaCount: 1
40     service:
41       allowHttp: true
42       httpName: http
43       internalPort1: 8282
44       targetPort1: 8181
45       httpsName: https
46       internalPort2: 8383
47       targetPort2: 8443
48     liveness:
49       initialDelaySeconds: 300
50       periodSeconds: 10
51     readiness:
52       initialDelaySeconds: 60
53       periodSeconds: 10
54
55 a1simulator:
56   a1simulator:
57     name: a1-sim
58     imagePullPolicy: IfNotPresent
59     image:
60       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
61       name: a1-simulator
62       tag: 2.1.0
63     service:
64       allowHttp: true
65       httpName: http
66       internalPort1: 8085
67       targetPort1: 8085
68       httpsName: https
69       internalPort2: 8185
70       targetPort2: 8185
71     liveness:
72       initialDelaySeconds: 20
73       periodSeconds: 10
74     readiness:
75       initialDelaySeconds: 20
76       periodSeconds: 10
77     oscVersion:
78       name: a1-sim-osc
79       replicaCount: 2
80     stdVersion:
81       name: a1-sim-std
82       replicaCount: 2
83     stdVersion2:
84       name: a1-sim-std2
85       replicaCount: 2
86
87 controlpanel:
88   controlpanel:
89     imagePullPolicy: IfNotPresent
90     image:
91       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
92       name: nonrtric-controlpanel
93       tag: 2.2.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     persistence:
135       volumeReclaimPolicy: Retain
136       accessMode: ReadWriteOnce
137       size: 2Gi
138       mountPath: /dockerdata-nfs
139       mountSubPath: nonrtric/policymanagementservice
140
141 enrichmentservice:
142   enrichmentservice:
143     imagePullPolicy: IfNotPresent
144     image:
145       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
146       name: 'nonrtric-enrichment-coordinator-service'
147       tag: 1.1.0
148     service:
149       allowHttp: true
150       httpName: http
151       internalPort1: 9082
152       targetPort1: 8083
153       httpsName: https
154       internalPort2: 9083
155       targetPort2: 8434
156     liveness:
157       initialDelaySeconds: 20
158       periodSeconds: 10
159     readiness:
160       initialDelaySeconds: 20
161       periodSeconds: 10
162     persistence:
163       enabled: true
164       volumeReclaimPolicy: Retain
165       accessMode: ReadWriteOnce
166       size: 2Gi
167       mountPath: /dockerdata-nfs
168       mountSubPath: nonrtric/enrichmentservice
169
170 rappcatalogueservice:
171   rappcatalogueservice:
172     imagePullPolicy: IfNotPresent
173     image:
174       registry: 'nexus3.o-ran-sc.org:10002/o-ran-sc'
175       name: nonrtric-r-app-catalogue
176       tag: 1.0.0
177     service:
178       allowHttp: true
179       httpName: http
180       internalPort1: 9085
181       targetPort1: 8080
182       httpsName: https
183       internalPort2: 9086
184       targetPort2: 8433
185     liveness:
186       initialDelaySeconds: 20
187       periodSeconds: 10
188     readiness:
189       initialDelaySeconds: 20
190       periodSeconds: 10
191
192 nonrtricgateway:
193   nonrtricgateway:
194     imagePullPolicy: IfNotPresent
195     image:
196       registry: 'nexus3.o-ran-sc.org:10004/o-ran-sc'
197       name: nonrtric-gateway
198       tag: 0.0.1
199     service:
200       httpName: http
201       internalPort1: 9090
202       targetPort1: 9090
203       externalPort1: 30093
204     liveness:
205       initialDelaySeconds: 20
206       periodSeconds: 10
207     readiness:
208       initialDelaySeconds: 20
209       periodSeconds: 10