1b992af27e5a6c9ff517e836c7212968847f854b
[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
21 #################################################################
22 # Application configuration defaults.
23 #################################################################
24 # application image
25 image: onap/dmaap/datarouter-node:2.1.3
26 pullPolicy: Always
27
28 # flag to enable debugging - application support required
29 debugEnabled: false
30
31 # application configuration - see parent values chart
32
33 # default number of instances
34 replicaCount: 1
35
36 nodeSelector: {}
37
38 affinity: {}
39
40 # probe configuration parameters
41 liveness:
42   initialDelaySeconds: 30
43   periodSeconds: 10
44   # necessary to disable liveness probe when setting breakpoints
45   # in debugger so K8s doesn't restart unresponsive container
46   enabled: true
47
48 readiness:
49   initialDelaySeconds: 30
50   periodSeconds: 10
51
52 ## Persist data to a persitent volume
53 persistence:
54   volumeReclaimPolicy: Retain
55   accessMode: ReadWriteOnce
56   mountPath: /dockerdata-nfs
57
58   spoolMountSubPath: data-router/dr-node/spool-data
59   spoolSize: 2Gi
60   spoolPath: /opt/app/datartr/spool
61
62   eventLogsMountSubPath: data-router/dr-node/event-logs
63   eventLogSize: 2Gi
64   eventLogsPath: /opt/app/datartr/logs
65
66   aafCredsMountSubPath: data-router/dr-node/aaf-props
67   aafCredsSize: 10M
68   aafCredsPath: /opt/app/osaaf/local
69
70 #AAF local config
71 aafConfig:
72   aafDeployFqi: dmaap-dr@dmaap-dr.onap.org
73   aafDeployPass: demo123456!
74   fqdn: dmaap-dr-node
75   fqi: dmaap-dr-node@dmaap-dr.onap.org
76   publicFqdn: dmaap-dr.onap.org
77   cadiLatitude: 0.0
78   cadiLongitude: 0.0
79
80
81 ingress:
82   enabled: false
83   service:
84     - baseaddr: "dmaapdrnode"
85       name: "dmaap-dr-node"
86       port: 8443
87   config:
88     ssl: "redirect"
89
90 # Resource Limit flavor -By Default using small
91 flavor: small
92 # Segregation for Different environment (Small and Large)
93 resources:
94   small:
95     limits:
96       cpu: 2000m
97       memory: 4Gi
98     requests:
99       cpu: 500m
100       memory: 1Gi
101   large:
102     limits:
103       cpu: 4000m
104       memory: 8Gi
105     requests:
106       cpu: 1000m
107       memory: 2Gi
108   unlimited: {}
109
110 config:
111   # dr node server configuration
112   dmaapDrNode:
113     servicetype: NodePort
114     name: dmaap-dr-node
115     externalPort: 8080
116     externalPort2: 8443
117     internalPort: 8080
118     internalPort2: 8443
119     portName: dr-node-port
120     portName2: dr-node-port2
121     nodePort: 93
122     nodePort2: 94