Update DMaaP DR images
[oom.git] / kubernetes / dmaap / components / dmaap-dr-prov / 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   loggingDirectory: /opt/app/datartr/logs
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/dmaap/datarouter-prov:2.1.2
27 pullPolicy: Always
28
29 # flag to enable debugging - application support required
30 debugEnabled: false
31
32 # application configuration - see parent values chart
33
34 # default number of instances
35 replicaCount: 1
36
37 nodeSelector: {}
38
39 affinity: {}
40
41 # probe configuration parameters
42 liveness:
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
49 readiness:
50   initialDelaySeconds: 30
51   periodSeconds: 10
52
53 ## Persist data to a persitent volume
54 persistence:
55   enabled: false
56
57 ingress:
58   enabled: false
59
60 # Resource Limit flavor -By Default using small
61 flavor: small
62 # Segregation for Different environment (Small and Large)
63 resources:
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
78   unlimited: {}
79
80 config:
81   # dr provisioning server configuration
82   dmaapDrProv:
83     servicetype: NodePort
84     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
97 mariadb:
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
113   disableNfsProvisioner: true