Extend K8S and RIC installation instructions
[it/dep.git] / RECIPE_EXAMPLE / RIC_AUX_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
30   onapRepository: nexus3.onap.org:10001
31   ubuntuInitRepository: registry.hub.docker.com
32   busyBoxRepository: docker.io
33
34   # Name of the K8S docker credential that is onboarded by 20-credential
35   repositoryCred: docker-reg-cred
36
37   # Docker image pull policy
38   imagePullPolicy: Always
39
40   # Helm repo that will be used by xApp manager
41   helmRepository: "http://aux-entry/helm"
42
43   # Certificate of the helm repo
44   helmRepositoryCert: xapp-mgr-certs
45
46   # Name of the K8S secret that contains the credential of the helm repo
47   helmRepositoryCred: xapp-mgr-creds
48
49   # Endpoint of k8s API server
50   k8sAPIHost: https://kubernetes.default.svc.cluster.local/
51
52
53   # The ingress URL definitions for the ingress controller in four namespaces
54   ingressurl:
55     ric: ric-entry
56     aux: aux-entry
57     dashboard: dashboard.ric.org
58   # Change to an unused port prefix range to prevent port conflicts
59   # with other instances running within the same k8s cluster
60   nodePortPrefix: 302
61   nodePortPrefixExt: 304
62
63   # Change this to define portal port used for webpage forwarding
64   portalFEPort: "8443"
65
66   # ONAP Repository
67   # Uncomment the following to enable the use of a single docker
68   # repository but ONLY if your repository mirrors all ONAP
69   # docker images. This includes all images from dockerhub and
70   # any other repository that hosts images for ONAP components.
71   repository: nexus3.onap.org:10001
72   #repositoryCred:
73   #  user: docker
74   #  password: docker
75
76   # readiness check - temporary repo until images migrated to nexus3
77   readinessRepository: oomk8s
78   # logging agent - temporary repo until images migrated to nexus3
79   loggingRepository: docker.elastic.co
80   loggingImage: beats/filebeat:5.5.0
81
82   # image pull policy
83   pullPolicy: Always
84
85
86   portalHostName: "portal.ric.o-ran-sc.org"
87   cookieDomain: "o-ran-sc.org"
88   # default mount path root directory referenced
89   # by persistent volumes and log files
90   persistence:
91     mountPath: /dockerdata-nfs
92     enableDefaultStorageclass: true
93     parameters: {}
94     storageclassProvisioner: kubernetes.io/no-provisioner
95     volumeReclaimPolicy: Retain
96
97   # override default resource limit flavor for all charts
98   flavor: unlimited
99
100   # flag to enable debugging - application support required
101   debugEnabled: false
102
103   aaf:
104     image: onap/aaf/aaf_core:2.1.15
105     config:
106       image: onap/aaf/aaf_config:2.1.15
107     cass:
108       image: onap/aaf/aaf_cass:2.1.15
109
110
111
112 #-------------------------------------------------------------------------
113 # Auxiliary Functions
114 #-------------------------------------------------------------------------
115 aaf-sms:
116   image: onap/aaf/sms:4.0.1
117   aaf-sms-quorumclient:
118     image: onap/aaf/smsquorumclient:4.0.0
119   aaf-sms-vault:
120     image:
121       consul: library/consul:1.0.6
122       vault: library/vault:0.10.0
123
124 aaf-sshsm:
125   aaf-sshsm-abrmd:
126     image: onap/aaf/abrmd:4.0.0
127   aaf-sshsm-distcenter:
128     image: onap/aaf/distcenter:4.0.0
129   aaf-sshsm-testca:
130     image: onap/aaf/testcaservice:4.0.0
131
132 portal-cassandra:
133   image: onap/music/cassandra_music:3.0.0
134 portal-mariadb:
135   config:
136     ricdashboardHostName: "dashboard.ric.org"
137     ricdashboardPort: "32443"
138     ricdashboardProtocol: "https"
139   image: onap/portal-db:2.5.0
140 portal-app:
141   image: onap/portal-app:2.5.0
142
143 persistence:
144   enabled: false
145
146 dashboard:
147   # Override the name using the following option
148   # nameOverride:
149   repositoryOverride: nexus3.o-ran-sc.org:10004
150
151   image:
152     name: o-ran-sc/ric-dashboard
153     tag: 1.3.0
154   caasingress:
155     aux:
156       url:
157         prefix: "https://<CAAS_INGRESS_IP>:16443"
158     plt:
159       url:
160         prefix: "https://<CAAS_INGRESS_IP>:16443"
161   cipher:
162     enc:
163       key: AGLDdG4D04BKm2IxIWEr8o==
164   portalapi:
165     # application.properties
166     security: true
167     username: Default
168     password: password
169     ecomp_redirect_url: https://portal.ric.org:8443/ONAPPORTAL/login.htm
170     ecomp_rest_url:     http://portal-app:8989/ONAPPORTAL/auxapi
171     ueb_app_key: uebkey
172   metrics:
173     url:
174       ac: http://mcdashboard.ric.org:5601/goto/1234567890abcdef?embed=true
175       mc: http://mcdashboard.ric.org:5601/goto/b35690798f2a32d065f5107aecd84308?embed=true
176   datapath: /opt/data/dashboard-data
177
178
179
180 ves:
181   onapRepository: "nexus3.onap.org:10001"
182
183   image:
184     name: onap/org.onap.dcaegen2.collectors.ves.vescollector
185     tag: 1.4.5
186
187 mrsub:
188   image:
189     name: mrsubp
190     tag: 0.0.1
191     pullPolicy: IfNotPresent
192   logStashHost: "r1-mc-stack-logstash.ricaux"
193   logStashPort: 5044
194   messageRouterHost: "ricaux-message-router.ricaux"
195   messageRouterPort: 3904
196
197
198 # image settings for dmaap
199 onapRepository: nexus3.onap.org:10001
200 image: onap/dmaap/dmaap-mr:1.1.13
201 ubuntuInitRepository: docker.io
202 ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
203 busyBoxRepository: docker.io
204 busyBoxImage: busybox:1.30
205
206 # image settings for dmaap subchart kafka
207 message-router-kafka:
208   ubuntuInitRepository: docker.io
209   ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
210   busyBoxRepository: docker.io
211   busyBoxImage: busybox:1.30
212   onapRepository: nexus3.onap.org:10001
213   image: onap/dmaap/kafka111:1.0.0
214 # image settings for dmaap subchart zookeeper
215 message-router-zookeeper:
216   ubuntuInitRepository: docker.io
217   ubuntuInitImage: oomk8s/ubuntu-init:2.0.0
218   busyBoxRepository: docker.io
219   busyBoxImage: busybox:1.30
220   onapRepository: nexus3.onap.org:10001
221   image: onap/dmaap/zookeeper:5.0.0
222
223 # MC Dashboard components
224 elasticsearch:
225   enabled: true
226
227 kibana:
228   enabled: true
229
230 logstash:
231   enabled: true
232 # end of MC Dashboard components
233
234
235 extsvcaux:
236   ricip:
237     # The ip address of the ric cluster ingress controller
238     10.0.2.100
239   auxip:
240     # The ip address of the aux cluster ingress controller
241     10.0.2.101