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