Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / sdnc / values.yaml
1 # 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
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21   repository: nexus3.onap.org:10001
22   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.2
24   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
33 repository: nexus3.onap.org:10001
34 pullPolicy: Always
35 image: onap/sdnc-image:1.6.2
36
37
38 # flag to enable debugging - application support required
39 debugEnabled: false
40
41 # application configuration
42 config:
43   odlUid: 100
44   odlGid: 101
45   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
46   dbRootPassword: secretpassword
47   dbSdnctlUser: sdnctl
48   dbSdnctlDatabase: sdnctl
49   dbSdnctlPassword: gamma
50   enableClustering: true
51   sdncHome: /opt/onap/sdnc
52   binDir: /opt/onap/sdnc/bin
53   etcDir: /opt/onap/sdnc/data
54   geoEnabled: false
55 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
56 # 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
59   isPrimaryCluster: true
60   configDir: /opt/onap/sdnc/data/properties
61   dmaapTopic: SUCCESS
62   dmaapPort: 3904
63   logstashServiceName: log-ls
64   logstashPort: 5044
65   ansibleServiceName: sdnc-ansible-server
66   ansiblePort: 8000
67   javaHome: /usr/lib/jvm/java-1.8-openjdk
68
69   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
95   #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
104 # dependency / sub-chart configuration
105 cds:
106   enabled: true
107
108 dmaap-listener:
109   nameOverride: sdnc-dmaap-listener
110   config:
111     sdncChartName: sdnc
112     mysqlChartName: mariadb-galera
113     dmaapPort: 3904
114     sdncPort: 8282
115     configDir: /opt/onap/sdnc/data/properties
116     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
117
118 ueb-listener:
119   nameOverride: sdnc-ueb-listener
120   config:
121     sdncPort: 8282
122     sdncChartName: sdnc
123     mysqlChartName: mariadb-galera
124     configDir: /opt/onap/sdnc/data/properties
125     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
126
127 sdnc-portal:
128   config:
129     sdncChartName: sdnc
130     mysqlChartName: mariadb-galera
131     configDir: /opt/onap/sdnc/data/properties
132     dbRootPassword: secretpassword
133     dbSdnctlPassword: gamma
134     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
135
136 sdnc-ansible-server:
137   service:
138     name: sdnc-ansible-server
139     internalPort: 8000
140   config:
141     mysqlServiceName: mariadb-galera
142
143 mariadb-galera:
144   nameOverride: sdnc-db
145   service:
146     name: sdnc-dbhost
147     internalPort: 3306
148   sdnctlPrefix: sdnc
149   persistence:
150     mountSubPath: sdnc/mariadb-galera
151     enabled: true
152   replicaCount: 1
153
154 dgbuilder:
155   nameOverride: sdnc-dgbuilder
156   config:
157     dbPodName: mariadb-galera
158     dbServiceName: mariadb-galera
159     dbRootPassword: secretpassword
160     dbSdnctlPassword: gamma
161     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
162   service:
163     name: sdnc-dgbuilder
164     nodePort: "03"
165
166 # default number of instances
167 replicaCount: 1
168
169 nodeSelector: {}
170
171 affinity: {}
172
173 # probe configuration parameters
174 liveness:
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
181 readiness:
182   initialDelaySeconds: 10
183   periodSeconds: 10
184
185 service:
186   type: NodePort
187   name: sdnc
188   portName: sdnc
189   internalPort: 8181
190   internalPort2: 8101
191   internalPort3: 8080
192   internalPort4: 8443
193
194   #port
195   externalPort: 8282
196   nodePort: "02"
197
198   externalPort2: 8202
199   nodePort2: "08"
200
201   externalPort3: 8280
202   nodePort3: 46
203
204   externalPort4: 8443
205   nodePort4: 67
206
207   clusterPort: 2550
208   clusterPort2: 2650
209   clusterPort3: 2681
210
211   geoNodePort1: 61
212   geoNodePort2: 62
213   geoNodePort3: 63
214   geoNodePort4: 64
215   geoNodePort5: 65
216   geoNodePort6: 66
217
218 ## Persist data to a persitent volume
219 persistence:
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
240 certpersistence:
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
256 ingress:
257   enabled: false
258
259 #Resource Limit flavor -By Default using small
260 flavor: small
261 #segregation for different envionment (Small and Large)
262
263 resources:
264   small:
265     limits:
266       cpu: 2
267       memory: 4Gi
268     requests:
269       cpu: 1
270       memory: 2Gi
271   large:
272     limits:
273       cpu: 4
274       memory: 8Gi
275     requests:
276       cpu: 2
277       memory: 4Gi
278   unlimited: {}