Updaet recipes and k8s 1node script
[it/dep.git] / RECIPE_EXAMPLE / RIC_PLATFORM_RECIPE_EXAMPLE
1 ################################################################################
2 #   Copyright (c) 2019 AT&T Intellectual Property.                             #
3 #   Copyright (c) 2019 Nokia.                                                  #
4 #                                                                              #
5 #   Licensed under the Apache License, Version 2.0 (the "License");            #
6 #   you may not use this file except in compliance with the License.           #
7 #   You may obtain a copy of the License at                                    #
8 #                                                                              #
9 #       http://www.apache.org/licenses/LICENSE-2.0                             #
10 #                                                                              #
11 #   Unless required by applicable law or agreed to in writing, software        #
12 #   distributed under the License is distributed on an "AS IS" BASIS,          #
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
14 #   See the License for the specific language governing permissions and        #
15 #   limitations under the License.                                             #
16 ###############################################################################
17
18 #-------------------------------------------------------------------------
19 # Global common setting
20 #-------------------------------------------------------------------------
21 global:
22   releasePrefix: r1
23   namespace:
24     xapp: ricxapp
25     infra: ricinfra
26     platform: ricplt
27     aux: ricaux
28   # Docker registry from which RIC platform components pull the images
29   repository: nexus3.o-ran-sc.org:10004/o-ran-sc
30
31   # Name of the K8S docker credential that is onboarded by 20-credential 
32   repositoryCred: docker-reg-cred
33
34   # Docker image pull policy
35   imagePullPolicy: Always
36
37   # Helm repo that will be used by xApp manager
38   helmRepository: "http://aux-entry/helm"
39
40   # Certificate of the helm repo
41   helmRepositoryCert: xapp-mgr-certs
42
43   # Name of the K8S secret that contains the credential of the helm repo
44   helmRepositoryCred: xapp-mgr-creds
45
46   # Endpoint of k8s API server
47   k8sAPIHost: https://kubernetes.default.svc.cluster.local/
48
49   # The ingress URL definitions for the ingress controller in four namespaces
50   ingressurl:
51     ric: ric-entry
52     aux: aux-entry
53     dashboard: dashboard-entry
54
55   tillers:
56     ricxapp:
57       name: ricxapp
58       nameSpace: ricxapp
59       deployNameSpace: ricinfra
60       image:
61         tillerTLSSecrets:
62           repository: nexus3.o-ran-sc.org:10004/o-ran-sc
63           name: it-dep-secret
64           tag: 0.0.2
65         tiller:
66           repository: gcr.io
67           name: kubernetes-helm/tiller
68           tag: v2.12.3
69       secret:
70         create: true
71         tillerSecretName: secret-tiller-ricxapp
72         helmSecretName: secret-helm-client-ricxapp
73       tls:
74        authenticate: true
75        verify: true
76       serviceAccount:
77         name: tiller
78         role:
79         - apiGroups: [""]
80           resources: ["pods", "configmaps", "services"]
81           verbs: ["get", "list", "create", "delete"]
82         - apiGroups: ["extensions", "apps"]
83           resources: ["deployments"]
84           verbs: ["get", "list", "create", "delete"]
85       port: 44134
86
87
88 #-------------------------------------------------------------------------
89 # Platform Components 
90 #-------------------------------------------------------------------------
91 # A1 Mediator
92 a1mediator:
93   # Use the following option to override the docker registry value
94   # repositoryOverride:
95   image:
96     name: ric-plt-a1
97     tag: 1.0.4
98   rmr_timeout_config:
99     rcv_retry_interval_ms: 500
100     rcv_retry_times: 20
101
102 # xApp Manager 
103 appmgr:
104   # Use the following option to override the docker registry value
105   # repositoryOverride:
106   image:
107     init:
108       name: it-dep-init
109       tag: 0.0.1
110     name: ric-plt-appmgr
111     tag: 0.2.0
112
113
114
115 # DBAAS 
116 dbaas:
117   # Use the following option to override the docker registry value
118   # repositoryOverride:
119   backend:
120     iterminationGracePeriodSeconds: 0
121     image:
122       name: ric-plt-dbaas
123       tag: 0.2.2
124
125 # E2 Manager
126 e2mgr:
127   # Use the following option to override the docker registry value
128   # repositoryOverride:
129   image:
130     name: ric-plt-e2mgr
131     tag: 3.0.1
132   env:
133     RIC_ID: "bbbccc-abcd0e/20"
134   privilegedmode: false
135
136
137 # E2 Termination
138 e2term:
139   # Use the following option to override the docker registry value
140   # repositoryOverride:
141   image:
142     name: ric-plt-e2
143     tag: 3.0.1
144   env:
145     print: "1"
146   privilegedmode: false
147   hostnetworkmode: false
148
149   dataVolSize: 100Mi
150   storageClassName: local-storage
151   #storageClassName: ric-storage-class
152
153 # Routing Manager
154 rtmgr:
155   # Use the following option to override the docker registry value
156   # repositoryOverride:
157   image:
158     name: ric-plt-rtmgr
159     tag: 0.3.9
160   loglevel: DEBUG
161
162 # Subscription Manager
163 submgr:
164   # Use the following option to override the docker registry value
165   # repositoryOverride:
166   image:
167     name: ric-plt-submgr
168     tag: 0.10.7
169
170 # VESPA Manager
171 vespamgr:
172   # Use the following option to override the docker registry value
173   # repositoryOverride:
174   image:
175     name: ric-plt-vespamgr
176     tag: 0.0.8
177   prometheusurl: "http://rec-prometheus-server.default"
178
179 # RAN Resource Monitor
180 rsm:
181   image:
182     name: ric-plt-resource-status-manager
183     tag: 3.0.1
184
185 # Jaeger Adapter
186 jaegeradapter:
187   repositoryOverride: docker.io
188   image:
189     name: jaegertracing/all-in-one
190     tag: 1.12
191     pullPolicy: IfNotPresent
192
193
194 # the service for redirecting to AUX cluster
195 extsvcplt:
196   auxip:
197     # The ip address of the aux cluster ingress controller
198     10.0.2.101
199   ricip:
200     # The ip address of the ric cluster ingress controller
201     10.0.2.100