blob: 9478a762ff88879d8974aca6f8899b7bba84415b [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
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010020 persistence: {}
Fiachra Corcoranbe966552018-08-07 16:58:45 +010021
22#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
efiacorf8a53302020-03-06 12:48:07 +000026image: onap/dmaap/datarouter-node:2.1.5
Fiachra Corcoranbe966552018-08-07 16:58:45 +010027pullPolicy: Always
28
29# flag to enable debugging - application support required
30debugEnabled: false
31
32# application configuration - see parent values chart
33
34# default number of instances
35replicaCount: 1
36
37nodeSelector: {}
38
39affinity: {}
40
41# probe configuration parameters
42liveness:
43 initialDelaySeconds: 30
44 periodSeconds: 10
45 # necessary to disable liveness probe when setting breakpoints
46 # in debugger so K8s doesn't restart unresponsive container
47 enabled: true
48
49readiness:
50 initialDelaySeconds: 30
51 periodSeconds: 10
52
53## Persist data to a persitent volume
54persistence:
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010055 enabled: true
efiacor4808baa2019-03-11 23:36:05 +000056 volumeReclaimPolicy: Retain
Sylvain Desbureaux18fe1fe2019-08-29 17:30:02 +020057 accessMode: ReadWriteOnce
efiacor4808baa2019-03-11 23:36:05 +000058 mountPath: /dockerdata-nfs
59
60 spoolMountSubPath: data-router/dr-node/spool-data
efiacore62958b2019-09-27 16:54:36 +010061 spoolSize: 2Gi
efiacor4808baa2019-03-11 23:36:05 +000062 spoolPath: /opt/app/datartr/spool
63
64 eventLogsMountSubPath: data-router/dr-node/event-logs
efiacore62958b2019-09-27 16:54:36 +010065 eventLogSize: 2Gi
efiacor4808baa2019-03-11 23:36:05 +000066 eventLogsPath: /opt/app/datartr/logs
Fiachra Corcoranbe966552018-08-07 16:58:45 +010067
efiacore62958b2019-09-27 16:54:36 +010068 aafCredsMountSubPath: data-router/dr-node/aaf-props
69 aafCredsSize: 10M
70 aafCredsPath: /opt/app/osaaf/local
71
72#AAF local config
73aafConfig:
efiacor6ca697d2020-03-06 16:30:05 +000074 aafDeployFqi: deployer@people.osaaf.org
efiacore62958b2019-09-27 16:54:36 +010075 aafDeployPass: demo123456!
76 fqdn: dmaap-dr-node
77 fqi: dmaap-dr-node@dmaap-dr.onap.org
78 publicFqdn: dmaap-dr.onap.org
79 cadiLatitude: 0.0
80 cadiLongitude: 0.0
81
82
Fiachra Corcoranbe966552018-08-07 16:58:45 +010083ingress:
84 enabled: false
Lucjan Bryndza554759c2019-11-27 15:02:14 +010085 service:
86 - baseaddr: "dmaapdrnode"
87 name: "dmaap-dr-node"
88 port: 8443
89 config:
90 ssl: "redirect"
Fiachra Corcoranbe966552018-08-07 16:58:45 +010091
Prateekinlinux9f5dc042018-09-20 14:08:54 +000092# Resource Limit flavor -By Default using small
93flavor: small
94# Segregation for Different environment (Small and Large)
95resources:
96 small:
97 limits:
98 cpu: 2000m
99 memory: 4Gi
100 requests:
101 cpu: 500m
102 memory: 1Gi
103 large:
104 limits:
105 cpu: 4000m
106 memory: 8Gi
107 requests:
108 cpu: 1000m
109 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +0000110 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +0000111
112config:
113 # dr node server configuration
114 dmaapDrNode:
efiacor17888832019-05-13 16:36:36 +0000115 servicetype: NodePort
econwar28266fa2019-03-05 16:39:00 +0000116 name: dmaap-dr-node
117 externalPort: 8080
118 externalPort2: 8443
119 internalPort: 8080
120 internalPort2: 8443
121 portName: dr-node-port
122 portName2: dr-node-port2
efiacor17888832019-05-13 16:36:36 +0000123 nodePort: 93
124 nodePort2: 94
efiacor9ef176c2020-02-20 16:50:30 +0000125 # dr uses the EELF Logging framework https://github.com/att/EELF
126 # and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
127 logLevel: "INFO"