9f08ad2958fec48fb3472670f7d2d31895800bb1
[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   readinessRepository: oomk8s
21   readinessImage: readiness-check:2.0.0
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24   loggingDirectory: /opt/app/datartr/logs
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 # application image
30 repository: nexus3.onap.org:10001
31 image: onap/dmaap/datarouter-prov:2.0.1
32 pullPolicy: Always
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 # application configuration - see parent values chart
38
39 # default number of instances
40 replicaCount: 1
41
42 nodeSelector: {}
43
44 affinity: {}
45
46 # probe configuration parameters
47 liveness:
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
54 readiness:
55   initialDelaySeconds: 30
56   periodSeconds: 10
57
58 ## Persist data to a persitent volume
59 persistence:
60   enabled: false
61
62 ingress:
63   enabled: false
64
65 # Resource Limit flavor -By Default using small
66 flavor: small
67 # Segregation for Different environment (Small and Large)
68 resources:
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
83   unlimited: {}
84
85 config:
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
105 mariadb:
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