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