154018a0187a62f40c7019e7982cb4c5a9e246f0
[oom.git] / kubernetes / dmaap / components / dmaap-dr-node / 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   nodePortPrefixExt: 304
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   busyBoxImage: busybox:1.30
26   busyBoxRepository: docker.io
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application image
32 repository: nexus3.onap.org:10001
33 image: onap/dmaap/datarouter-node:2.1.0
34 pullPolicy: Always
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration - see parent values chart
40
41 # default number of instances
42 replicaCount: 1
43
44 nodeSelector: {}
45
46 affinity: {}
47
48 # probe configuration parameters
49 liveness:
50   initialDelaySeconds: 30
51   periodSeconds: 10
52   # necessary to disable liveness probe when setting breakpoints
53   # in debugger so K8s doesn't restart unresponsive container
54   enabled: true
55
56 readiness:
57   initialDelaySeconds: 30
58   periodSeconds: 10
59
60 ## Persist data to a persitent volume
61 persistence:
62   volumeReclaimPolicy: Retain
63   accessMode: ReadWriteMany
64   mountPath: /dockerdata-nfs
65
66   spoolMountSubPath: data-router/dr-node/spool-data
67   spoolSize: 1Gi
68   spoolPath: /opt/app/datartr/spool
69
70   eventLogsMountSubPath: data-router/dr-node/event-logs
71   eventLogSize: 1Gi
72   eventLogsPath: /opt/app/datartr/logs
73
74 ingress:
75   enabled: false
76
77 # Resource Limit flavor -By Default using small
78 flavor: small
79 # Segregation for Different environment (Small and Large)
80 resources:
81   small:
82     limits:
83       cpu: 2000m
84       memory: 4Gi
85     requests:
86       cpu: 500m
87       memory: 1Gi
88   large:
89     limits:
90       cpu: 4000m
91       memory: 8Gi
92     requests:
93       cpu: 1000m
94       memory: 2Gi
95   unlimited: {}
96
97 config:
98   # dr node server configuration
99   dmaapDrNode:
100     servicetype: NodePort
101     name: dmaap-dr-node
102     externalPort: 8080
103     externalPort2: 8443
104     internalPort: 8080
105     internalPort2: 8443
106     portName: dr-node-port
107     portName2: dr-node-port2
108     nodePort: 93
109     nodePort2: 94
110
111 # dr provisioning server configuration
112   dmaapDrProv:
113     name: dmaap-dr-prov
114     externalPort2: 8443
115     internalPort2: 8443