blob: 9f08ad2958fec48fb3472670f7d2d31895800bb1 [file] [log] [blame]
Fiachra Corcoranbe966552018-08-07 16:58:45 +01001# 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#################################################################
18global:
19 nodePortPrefix: 302
20 readinessRepository: oomk8s
21 readinessImage: readiness-check:2.0.0
22 loggingRepository: docker.elastic.co
23 loggingImage: beats/filebeat:5.5.0
econwar28266fa2019-03-05 16:39:00 +000024 loggingDirectory: /opt/app/datartr/logs
Fiachra Corcoranbe966552018-08-07 16:58:45 +010025
26#################################################################
27# Application configuration defaults.
28#################################################################
29# application image
30repository: nexus3.onap.org:10001
econwar28266fa2019-03-05 16:39:00 +000031image: onap/dmaap/datarouter-prov:2.0.1
Fiachra Corcoranbe966552018-08-07 16:58:45 +010032pullPolicy: Always
33
34# flag to enable debugging - application support required
35debugEnabled: false
36
37# application configuration - see parent values chart
38
39# default number of instances
40replicaCount: 1
41
42nodeSelector: {}
43
44affinity: {}
45
46# probe configuration parameters
47liveness:
48 initialDelaySeconds: 30
49 periodSeconds: 10
50 # necessary to disable liveness probe when setting breakpoints
51 # in debugger so K8s doesn't restart unresponsive container
52 enabled: true
53
54readiness:
55 initialDelaySeconds: 30
56 periodSeconds: 10
57
58## Persist data to a persitent volume
59persistence:
60 enabled: false
61
62ingress:
63 enabled: false
64
Prateekinlinux9f5dc042018-09-20 14:08:54 +000065# Resource Limit flavor -By Default using small
66flavor: small
67# Segregation for Different environment (Small and Large)
68resources:
69 small:
70 limits:
71 cpu: 2000m
72 memory: 4Gi
73 requests:
74 cpu: 500m
75 memory: 1Gi
76 large:
77 limits:
78 cpu: 4000m
79 memory: 8Gi
80 requests:
81 cpu: 1000m
82 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +000083 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +000084
85config:
86 # dr provisioning server configuration
87 dmaapDrProv:
88 servicetype: NodePort
89 name: dmaap-dr-prov
90 externalPort: 8080
91 externalPort2: 8443
92 internalPort: 8080
93 internalPort2: 8443
94 portName: dr-prov-port
95 portName2: dr-prov-port2
96 nodePort: 59
97 nodePort2: 69
98 # dr-prov db configuration
99 dmaapDrDb:
100 mariadbServiceName: dmaap-dr-db-svc
101 mariadbServicePort: 3306
102 mariadbContName: dmaap-dr-db
103
104# mariadb-galera configuration
105mariadb:
106 name: dmaap-dr-db
107 nameOverride: dmaap-dr-db
108 replicaCount: 2
109 config:
110 mariadbRootPassword: datarouter
111 userName: datarouter
112 userPassword: datarouter
113 mysqlDatabase: datarouter
114 service:
115 name: dmaap-dr-db-svc
116 portName: dmaap-dr-db-svc
117 nfsprovisionerPrefix: dmaap-dr-db
118 persistence:
119 size: 1Gi
120 mountSubPath: data-router/dr-db-data
121 disableNfsProvisioner: true