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