blob: eef675538564a0dcdf3f7b8d31bcb136ea914d7c [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:
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010019 persistence: {}
efiacor2123fec2022-12-09 13:40:55 +000020 dmaapDrProvName: dmaap-dr-prov
Krzysztof Opasiak58685d02021-07-29 22:45:45 +020021
22#################################################################
Fiachra Corcoranbe966552018-08-07 16:58:45 +010023# Application configuration defaults.
24#################################################################
25# application image
efiacor501c7b62023-04-25 14:52:01 +010026image: onap/dmaap/datarouter-node:2.1.13
Fiachra Corcoranbe966552018-08-07 16:58:45 +010027pullPolicy: Always
28
Fiachra Corcoranbe966552018-08-07 16:58:45 +010029# default number of instances
30replicaCount: 1
31
32nodeSelector: {}
33
34affinity: {}
35
efiacor2123fec2022-12-09 13:40:55 +000036# application configuration - see parent values chart
37# dr uses the EELF Logging framework https://github.com/att/EELF
38# and supports the following log levels: TRACE, DEBUG, INFO, WARN, ERROR, OFF
39logLevel: "DEBUG"
40
41containerPort: &svc_port 8080
42
43service:
44 type: ClusterIP
45 name: dmaap-dr-node
46 ports:
47 - name: http
48 port: *svc_port
49
50ingress:
51 enabled: false
52 service:
53 - baseaddr: "dmaap-dr-node-api"
54 name: "dmaap-dr-node"
55 port: *svc_port
56 config:
57 ssl: "redirect"
58
Fiachra Corcoranbe966552018-08-07 16:58:45 +010059# probe configuration parameters
60liveness:
61 initialDelaySeconds: 30
62 periodSeconds: 10
63 # necessary to disable liveness probe when setting breakpoints
64 # in debugger so K8s doesn't restart unresponsive container
65 enabled: true
efiacor2123fec2022-12-09 13:40:55 +000066 port: *svc_port
Fiachra Corcoranbe966552018-08-07 16:58:45 +010067
68readiness:
69 initialDelaySeconds: 30
70 periodSeconds: 10
efiacor2123fec2022-12-09 13:40:55 +000071 port: *svc_port
Fiachra Corcoranbe966552018-08-07 16:58:45 +010072
efiacor2123fec2022-12-09 13:40:55 +000073## Persist data to a persistent volume
Fiachra Corcoranbe966552018-08-07 16:58:45 +010074persistence:
Sylvain Desbureauxce3b4612020-03-10 08:45:42 +010075 enabled: true
efiacor4808baa2019-03-11 23:36:05 +000076 mountPath: /dockerdata-nfs
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010077 spool:
78 enabled: true
79 volumeReclaimPolicy: Retain
80 accessMode: ReadWriteOnce
81 mountSubPath: data-router/dr-node/spool-data
82 size: 2Gi
83 path: /opt/app/datartr/spool
84 labels:
85 app.kubernetes.io/component: spool
efiacor4808baa2019-03-11 23:36:05 +000086
Sylvain Desbureauxf7768e82020-03-23 16:48:20 +010087 event:
88 enabled: true
89 volumeReclaimPolicy: Retain
90 accessMode: ReadWriteOnce
91 mountSubPath: data-router/dr-node/event-logs
92 path: /opt/app/datartr/logs
93 size: 2Gi
94 labels:
95 app.kubernetes.io/component: event-logs
efiacor4808baa2019-03-11 23:36:05 +000096
Prateekinlinux9f5dc042018-09-20 14:08:54 +000097# Resource Limit flavor -By Default using small
98flavor: small
rope252f2db5c12022-01-10 14:15:16 +000099
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000100# Segregation for Different environment (Small and Large)
101resources:
102 small:
103 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200104 cpu: 999
105 memory: 1Gi
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000106 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200107 cpu: 0.5
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000108 memory: 1Gi
109 large:
110 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200111 cpu: 999
112 memory: 2Gi
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000113 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200114 cpu: 1
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000115 memory: 2Gi
Emmett Cox87d9abe2018-11-26 16:57:27 +0000116 unlimited: {}
econwar28266fa2019-03-05 16:39:00 +0000117
farida azmy13388ba2021-03-17 11:33:28 +0200118#Pods Service Account
119serviceAccount:
120 nameOverride: dmaap-dr-node
121 roles:
122 - read
Maciej Wereski9075b5c2021-11-04 14:01:26 +0000123
efiacor2123fec2022-12-09 13:40:55 +0000124securityContext:
125 user_id: 1000
126 group_id: 1000
127
128readinessCheck:
129 wait_for:
130 - dmaap-dr-prov