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