blob: 723d9778678a39980db86bf52361b0df00fe867c [file] [log] [blame]
Fiachra Corcoranbe966552018-08-07 16:58:45 +01001# 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#################################################################
18global:
efiacor7b9a0872019-08-28 21:20:22 +000019 loggingDirectory: /var/log/onap/datarouter
econwar4d9f35f2019-04-16 08:02:13 +000020 busyBoxImage: busybox:1.30
21 busyBoxRepository: docker.io
Fiachra Corcoranbe966552018-08-07 16:58:45 +010022
23#################################################################
24# Application configuration defaults.
25#################################################################
26# application image
efiacor7b9a0872019-08-28 21:20:22 +000027image: onap/dmaap/datarouter-node:2.1.1
Fiachra Corcoranbe966552018-08-07 16:58:45 +010028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration - see parent values chart
34
35# default number of instances
36replicaCount: 1
37
38nodeSelector: {}
39
40affinity: {}
41
42# probe configuration parameters
43liveness:
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
50readiness:
51 initialDelaySeconds: 30
52 periodSeconds: 10
53
54## Persist data to a persitent volume
55persistence:
efiacor4808baa2019-03-11 23:36:05 +000056 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
Fiachra Corcoranbe966552018-08-07 16:58:45 +010067
68ingress:
69 enabled: false
70
Prateekinlinux9f5dc042018-09-20 14:08:54 +000071# Resource Limit flavor -By Default using small
72flavor: small
73# Segregation for Different environment (Small and Large)
74resources:
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
Emmett Cox87d9abe2018-11-26 16:57:27 +000089 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +000090
91config:
92 # dr node server configuration
93 dmaapDrNode:
efiacor17888832019-05-13 16:36:36 +000094 servicetype: NodePort
econwar28266fa2019-03-05 16:39:00 +000095 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
efiacor17888832019-05-13 16:36:36 +0000102 nodePort: 93
103 nodePort2: 94