blob: ab6a31ee2edef010b8d325b2ca37dd63d9b6c31d [file] [log] [blame]
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00001# Copyright © 2017 Amdocs, Bell Canada
Durgpal7ad40692018-08-03 07:28:36 +00002# Modifications Copyright © 2018 AT&T
efiacorfe8f8c92022-03-15 15:36:48 +00003# Modifications Copyright © 2021-2022 Nordix Foundation
Kedar Ambekardf5180b2023-07-28 12:19:35 +00004# Modifications Copyright © 2023 DTAG
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00005#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17
pramodad6382f2018-03-28 22:32:00 +000018#################################################################
19# Global configuration defaults.
20#################################################################
21global:
efiacor2123fec2022-12-09 13:40:55 +000022 persistence: {}
Sylvain Desbureauxe5b6ffc2021-02-10 12:11:53 +010023
pramodad6382f2018-03-28 22:32:00 +000024#################################################################
25# Application configuration defaults.
26#################################################################
27# application image
efiacor501c7b62023-04-25 14:52:01 +010028image: onap/dmaap/dmaap-mr:1.4.4
pramodad6382f2018-03-28 22:32:00 +000029pullPolicy: Always
30
efiacor2123fec2022-12-09 13:40:55 +000031#Strimzi zookeeper_tunnel config
32zkTunnelService:
33 type: ClusterIP
34 name: zk-tunnel-svc
35 portName: tcp-zk-tunnel
36 protocol: TCP
37 internalPort: 2181
38 logLevel: debug
39 image: scholzj/zoo-entrance:latest
pramodad6382f2018-03-28 22:32:00 +000040
41nodeSelector: {}
42
43affinity: {}
44
efiacor2123fec2022-12-09 13:40:55 +000045containerPort: &svc_port 3904
46
47service:
48 type: ClusterIP
49 name: message-router
50 ports:
51 - name: api
52 port: *svc_port
53 port_protocol: http
54
55ingress:
56 enabled: false
57 service:
58 - baseaddr: "dmaap-mr-api"
59 name: "message-router"
60 port: *svc_port
61 config:
62 ssl: "redirect"
63
pramodad6382f2018-03-28 22:32:00 +000064# probe configuration parameters
65liveness:
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010066 initialDelaySeconds: 10
Kedar Ambekardf5180b2023-07-28 12:19:35 +000067 periodSeconds: 30
68 timeoutSeconds: 15
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010069 successThreshold: 1
70 failureThreshold: 3
pramodad6382f2018-03-28 22:32:00 +000071 # necessary to disable liveness probe when setting breakpoints
72 # in debugger so K8s doesn't restart unresponsive container
efiacor2123fec2022-12-09 13:40:55 +000073 port: *svc_port
pramodad6382f2018-03-28 22:32:00 +000074 enabled: true
75
76readiness:
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010077 initialDelaySeconds: 10
pramodad6382f2018-03-28 22:32:00 +000078 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040079 timeoutSeconds: 1
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010080 successThreshold: 1
81 failureThreshold: 3
efiacor2123fec2022-12-09 13:40:55 +000082 port: *svc_port
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010083
Kedar Ambekardf5180b2023-07-28 12:19:35 +000084# periodSeconds is set longer to avoid DMaaP 429 error
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010085startup:
Kedar Ambekardf5180b2023-07-28 12:19:35 +000086 initialDelaySeconds: 90
87 periodSeconds: 30
88 timeoutSeconds: 15
Sylvain Desbureaux8fade992021-12-06 11:33:11 +010089 successThreshold: 1
90 failureThreshold: 70
efiacor2123fec2022-12-09 13:40:55 +000091 port: *svc_port
pramodad6382f2018-03-28 22:32:00 +000092
Prateekinlinux9f5dc042018-09-20 14:08:54 +000093# Resource Limit flavor -By Default using small
94flavor: small
95# Segregation for Different environment (Small and Large)
96resources:
97 small:
98 limits:
Andreas Geissler47537432024-02-27 08:55:23 +010099 cpu: "2"
100 memory: "4Gi"
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000101 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100102 cpu: "1"
103 memory: "2Gi"
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000104 large:
105 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100106 cpu: "4"
107 memory: "8Gi"
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000108 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100109 cpu: "2"
110 memory: "4Gi"
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000111 unlimited: {}
farida azmy13388ba2021-03-17 11:33:28 +0200112
113#Pods Service Account
114serviceAccount:
115 nameOverride: message-router
116 roles:
117 - read