blob: 12505f71bd7c5a5c391fe66a0944cf70ead80bca [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
jmac065e2ce2018-03-29 01:18:02 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
jmac0e4f7172018-09-07 18:06:43 +000020 nodePortPrefixExt: 304
jmac065e2ce2018-03-29 01:18:02 +000021 repository: nexus3.onap.org:10001
jmac065e2ce2018-03-29 01:18:02 +000022 readinessRepository: oomk8s
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +000023 readinessImage: readiness-check:2.0.2
jmac065e2ce2018-03-29 01:18:02 +000024 loggingRepository: docker.elastic.co
25 loggingImage: beats/filebeat:5.5.0
26 persistence:
27 mountPath: /dockerdata-nfs
28
29#################################################################
30# Application configuration defaults.
31#################################################################
32# application images
33repository: nexus3.onap.org:10001
34pullPolicy: Always
Timoney, Dan (dt5972)e4e9c642019-10-11 11:48:04 -040035image: onap/sdnc-image:1.7.4
jmac065e2ce2018-03-29 01:18:02 +000036
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -040037
jmac065e2ce2018-03-29 01:18:02 +000038# flag to enable debugging - application support required
39debugEnabled: false
40
41# application configuration
BorislavG5f3b6192018-03-25 18:12:38 +030042config:
Timoney, Dan (dt5972)ba4d2eb2019-05-07 13:32:42 -040043 odlUid: 100
44 odlGid: 101
jmaca68f4cb2018-05-10 22:44:19 +000045 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +000046 dbRootPassword: secretpassword
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -040047 dbSdnctlUser: sdnctl
48 dbSdnctlDatabase: sdnctl
jmac70863e12018-05-16 14:53:03 +000049 dbSdnctlPassword: gamma
jmac065e2ce2018-03-29 01:18:02 +000050 enableClustering: true
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -040051 sdncHome: /opt/onap/sdnc
jmaca68f4cb2018-05-10 22:44:19 +000052 binDir: /opt/onap/sdnc/bin
Timoney, Dan (dt5972)a3bc1a52019-06-26 16:16:52 -040053 etcDir: /opt/onap/sdnc/data
Trevor Tait567ff1e2018-05-01 16:20:54 -040054 geoEnabled: false
Neha Jain7b0d6c62018-05-17 14:34:49 -040055# if geoEnabled is set to true here, mysql.geoEnabled must be set to true
Trevor Tait567ff1e2018-05-01 16:20:54 -040056# if geoEnabled is set to true the following 3 values must be set to their proper values
57 myODLCluster: 127.0.0.1
58 peerODLCluster: 127.0.0.1
Mohammadreza Pasandidehb642ee52018-06-19 15:19:53 -040059 isPrimaryCluster: true
jmac065e2ce2018-03-29 01:18:02 +000060 configDir: /opt/onap/sdnc/data/properties
61 dmaapTopic: SUCCESS
jmaca68f4cb2018-05-10 22:44:19 +000062 dmaapPort: 3904
BorislavG5f3b6192018-03-25 18:12:38 +030063 logstashServiceName: log-ls
64 logstashPort: 5044
jmac7c434672018-05-11 20:14:17 +000065 ansibleServiceName: sdnc-ansible-server
66 ansiblePort: 8000
Timoney, Dan (dt5972)6819bc92019-02-12 13:30:49 -050067 javaHome: /usr/lib/jvm/java-1.8-openjdk
jmac7c434672018-05-11 20:14:17 +000068
Timoney, Dan (dt5972)58774772019-08-21 16:50:54 -040069 odl:
70 etcDir: /opt/opendaylight/etc
71 binDir: /opt/opendaylight/bin
72 salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
73 salConfigVersion: 1.8.2
74 akka:
75 seedNodeTimeout: 15s
76 circuitBreaker:
77 maxFailures: 10
78 callTimeout: 90s
79 resetTimeout: 30s
80 recoveryEventTimeout: 90s
81 datastore:
82 persistentActorRestartMinBackoffInSeconds: 10
83 persistentActorRestartMaxBackoffInSeconds: 40
84 persistentActorRestartResetBackoffInSeconds: 20
85 shardTransactionCommitTimeoutInSeconds: 120
86 shardIsolatedLeaderCheckIntervalInMillis: 30000
87 operationTimeoutInSeconds: 120
88 javaOptions:
89 maxGCPauseMillis: 100
90 parallelGCThreads : 3
91 numberGGLogFiles: 10
92
93
94
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +000095 #local Mariadb-galera cluster
96 localDBCluster: false
97
98 #Shared mariadb-galera details
99 mariadbGalera:
100 chartName: mariadb-galera
101 serviceName: mariadb-galera
102 internalPort: 3306
103
jmac065e2ce2018-03-29 01:18:02 +0000104# dependency / sub-chart configuration
Sylvain Desbureaux7acab562019-03-01 09:26:13 +0100105cds:
Abdelmuhaimen Seaudif487c952019-09-03 17:45:29 +0000106 enabled: false
Sylvain Desbureaux7acab562019-03-01 09:26:13 +0100107
jmac065e2ce2018-03-29 01:18:02 +0000108dmaap-listener:
109 nameOverride: sdnc-dmaap-listener
110 config:
111 sdncChartName: sdnc
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000112 mysqlChartName: mariadb-galera
jmaca68f4cb2018-05-10 22:44:19 +0000113 dmaapPort: 3904
114 sdncPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000115 configDir: /opt/onap/sdnc/data/properties
jmaca68f4cb2018-05-10 22:44:19 +0000116 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
jmac065e2ce2018-03-29 01:18:02 +0000117
118ueb-listener:
119 nameOverride: sdnc-ueb-listener
120 config:
jmaca68f4cb2018-05-10 22:44:19 +0000121 sdncPort: 8282
jmac065e2ce2018-03-29 01:18:02 +0000122 sdncChartName: sdnc
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000123 mysqlChartName: mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000124 configDir: /opt/onap/sdnc/data/properties
jmaca68f4cb2018-05-10 22:44:19 +0000125 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
jmac065e2ce2018-03-29 01:18:02 +0000126
127sdnc-portal:
128 config:
129 sdncChartName: sdnc
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000130 mysqlChartName: mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000131 configDir: /opt/onap/sdnc/data/properties
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000132 dbRootPassword: secretpassword
jmac70863e12018-05-16 14:53:03 +0000133 dbSdnctlPassword: gamma
jmaca68f4cb2018-05-10 22:44:19 +0000134 odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
jmac065e2ce2018-03-29 01:18:02 +0000135
jmac7c434672018-05-11 20:14:17 +0000136sdnc-ansible-server:
137 service:
138 name: sdnc-ansible-server
139 internalPort: 8000
140 config:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000141 mysqlServiceName: mariadb-galera
jmac7c434672018-05-11 20:14:17 +0000142
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000143mariadb-galera:
jmac065e2ce2018-03-29 01:18:02 +0000144 nameOverride: sdnc-db
145 service:
146 name: sdnc-dbhost
jmacbc92d132018-04-07 03:46:12 +0000147 internalPort: 3306
jmac065e2ce2018-03-29 01:18:02 +0000148 sdnctlPrefix: sdnc
149 persistence:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000150 mountSubPath: sdnc/mariadb-galera
jmac065e2ce2018-03-29 01:18:02 +0000151 enabled: true
jmac065e2ce2018-03-29 01:18:02 +0000152 replicaCount: 1
153
154dgbuilder:
155 nameOverride: sdnc-dgbuilder
156 config:
Mahendra Raghuwanshib76cb282019-04-09 10:13:07 +0000157 dbPodName: mariadb-galera
158 dbServiceName: mariadb-galera
159 dbRootPassword: secretpassword
jmac70863e12018-05-16 14:53:03 +0000160 dbSdnctlPassword: gamma
161 dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
jmac065e2ce2018-03-29 01:18:02 +0000162 service:
BorislavG1ffbd992018-04-24 07:56:27 +0000163 name: sdnc-dgbuilder
jmac065e2ce2018-03-29 01:18:02 +0000164 nodePort: "03"
165
166# default number of instances
167replicaCount: 1
168
169nodeSelector: {}
170
171affinity: {}
172
173# probe configuration parameters
174liveness:
175 initialDelaySeconds: 10
176 periodSeconds: 10
177 # necessary to disable liveness probe when setting breakpoints
178 # in debugger so K8s doesn't restart unresponsive container
179 enabled: true
180
181readiness:
182 initialDelaySeconds: 10
183 periodSeconds: 10
184
185service:
186 type: NodePort
187 name: sdnc
BorislavG1ffbd992018-04-24 07:56:27 +0000188 portName: sdnc
jmac065e2ce2018-03-29 01:18:02 +0000189 internalPort: 8181
190 internalPort2: 8101
191 internalPort3: 8080
Timoney, Dan (dt5972)c6de2692019-08-14 14:22:37 -0400192 internalPort4: 8443
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400193
jmac065e2ce2018-03-29 01:18:02 +0000194 #port
195 externalPort: 8282
196 nodePort: "02"
197
198 externalPort2: 8202
199 nodePort2: "08"
200
201 externalPort3: 8280
202 nodePort3: 46
203
jmaca68f4cb2018-05-10 22:44:19 +0000204 externalPort4: 8443
205 nodePort4: 67
206
jmac065e2ce2018-03-29 01:18:02 +0000207 clusterPort: 2550
Mohammadreza Pasandidehb756fb72018-04-03 10:06:45 -0400208 clusterPort2: 2650
209 clusterPort3: 2681
210
211 geoNodePort1: 61
212 geoNodePort2: 62
213 geoNodePort3: 63
214 geoNodePort4: 64
215 geoNodePort5: 65
216 geoNodePort6: 66
jmac065e2ce2018-03-29 01:18:02 +0000217
jmac8d6dc962018-04-26 14:26:55 +0000218## Persist data to a persitent volume
219persistence:
220 enabled: true
221
222 ## A manually managed Persistent Volume and Claim
223 ## Requires persistence.enabled: true
224 ## If defined, PVC must be created manually before volume will be bound
225 # existingClaim:
226 volumeReclaimPolicy: Retain
227
228 ## database data Persistent Volume Storage Class
229 ## If defined, storageClassName: <storageClass>
230 ## If set to "-", storageClassName: "", which disables dynamic provisioning
231 ## If undefined (the default) or set to null, no storageClassName spec is
232 ## set, choosing the default provisioner. (gp2 on AWS, standard on
233 ## GKE, AWS & OpenStack)
234 accessMode: ReadWriteOnce
235 size: 1Gi
236 mountPath: /dockerdata-nfs
237 mountSubPath: sdnc/mdsal
238 mdsalPath: /opt/opendaylight/current/daexim
239
Rahul Tyagi44cc1ac2019-03-02 06:15:35 +0000240certpersistence:
241 enabled: true
242
243 ## A manually managed Persistent Volume and Claim
244 ## Requires persistence.enabled: true
245 ## If defined, PVC must be created manually before volume will be bound
246 # existingClaim:
247
248 volumeReclaimPolicy: Retain
249 accessMode: ReadWriteOnce
250 size: 50Mi
251 mountPath: /dockerdata-nfs
252 mountSubPath: sdnc/certs
253 certPath: /opt/opendaylight/current/certs
254 ##storageClass: "manual"
255
jmac065e2ce2018-03-29 01:18:02 +0000256ingress:
257 enabled: false
Lucjan Bryndza08448402019-11-27 14:26:54 +0100258 service:
259 - baseaddr: "sdnc"
260 name: "sdnc"
261 port: 8443
262 config:
263 ssl: "redirect"
jmac065e2ce2018-03-29 01:18:02 +0000264
toshrajbhardwaj72b5f0f2018-09-13 02:45:22 +0000265#Resource Limit flavor -By Default using small
266flavor: small
267#segregation for different envionment (Small and Large)
268
269resources:
Mandeep Khindade045712018-09-19 18:11:57 +0000270 small:
271 limits:
272 cpu: 2
273 memory: 4Gi
274 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000275 cpu: 1
276 memory: 2Gi
Mandeep Khindade045712018-09-19 18:11:57 +0000277 large:
278 limits:
279 cpu: 4
280 memory: 8Gi
281 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +0000282 cpu: 2
283 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000284 unlimited: {}