blob: aca2c83adb536a7599bdd54f5c9468d5c0a611e2 [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
econwar28266fa2019-03-05 16:39:00 +000020 loggingDirectory: /opt/app/datartr/logs
Fiachra Corcoranbe966552018-08-07 16:58:45 +010021
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
efiacor7b9a0872019-08-28 21:20:22 +000026image: onap/dmaap/datarouter-prov:2.1.1
Fiachra Corcoranbe966552018-08-07 16:58:45 +010027pullPolicy: Always
28
29# flag to enable debugging - application support required
30debugEnabled: false
31
32# application configuration - see parent values chart
33
34# default number of instances
35replicaCount: 1
36
37nodeSelector: {}
38
39affinity: {}
40
41# probe configuration parameters
42liveness:
43 initialDelaySeconds: 30
44 periodSeconds: 10
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
47 enabled: true
48
49readiness:
50 initialDelaySeconds: 30
51 periodSeconds: 10
52
53## Persist data to a persitent volume
54persistence:
55 enabled: false
56
57ingress:
58 enabled: false
59
Prateekinlinux9f5dc042018-09-20 14:08:54 +000060# Resource Limit flavor -By Default using small
61flavor: small
62# Segregation for Different environment (Small and Large)
63resources:
64 small:
65 limits:
66 cpu: 2000m
67 memory: 4Gi
68 requests:
69 cpu: 500m
70 memory: 1Gi
71 large:
72 limits:
73 cpu: 4000m
74 memory: 8Gi
75 requests:
76 cpu: 1000m
77 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +000078 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +000079
80config:
81 # dr provisioning server configuration
82 dmaapDrProv:
83 servicetype: NodePort
econwar28266fa2019-03-05 16:39:00 +000084 internalPort: 8080
85 internalPort2: 8443
86 portName: dr-prov-port
87 portName2: dr-prov-port2
88 nodePort: 59
89 nodePort2: 69
90 # dr-prov db configuration
91 dmaapDrDb:
92 mariadbServiceName: dmaap-dr-db-svc
93 mariadbServicePort: 3306
94 mariadbContName: dmaap-dr-db
95
96# mariadb-galera configuration
97mariadb:
98 name: dmaap-dr-db
99 nameOverride: dmaap-dr-db
100 replicaCount: 2
101 config:
102 mariadbRootPassword: datarouter
103 userName: datarouter
104 userPassword: datarouter
105 mysqlDatabase: datarouter
106 service:
107 name: dmaap-dr-db-svc
108 portName: dmaap-dr-db-svc
109 nfsprovisionerPrefix: dmaap-dr-db
110 persistence:
111 size: 1Gi
112 mountSubPath: data-router/dr-db-data
Yang Xu4ec3d012019-04-24 12:25:39 -0400113 disableNfsProvisioner: true