blob: c4bab2350ab3c1d4e7046eee2d40e9f458172ae2 [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
vaibhav_16dece04b2fe2018-03-22 09:07:12 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
pramodad6382f2018-03-28 22:32:00 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Jerome Douceraind18576b2018-03-17 14:21:42 -040021
pramodad6382f2018-03-28 22:32:00 +000022#################################################################
23# Application configuration defaults.
24#################################################################
25# application image
su622ba3865652020-03-25 17:26:51 -040026image: onap/dmaap/dmaap-mr:1.1.18
pramodad6382f2018-03-28 22:32:00 +000027pullPolicy: Always
28
pramodad6382f2018-03-28 22:32:00 +000029kafka:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000030 name: message-router-kafka
31 port: 9092
pramodad6382f2018-03-28 22:32:00 +000032zookeeper:
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000033 name: message-router-zookeeper
34 port: 2181
pramodad6382f2018-03-28 22:32:00 +000035
36# flag to enable debugging - application support required
37debugEnabled: false
38
39# application configuration
Dominic Lunanuova1ba2b252018-04-30 19:01:31 +000040config: {}
pramodad6382f2018-03-28 22:32:00 +000041
42# default number of instances
43replicaCount: 1
44
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
sunil unnavab96a3912018-12-06 09:50:39 -050051 initialDelaySeconds: 70
pramodad6382f2018-03-28 22:32:00 +000052 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040053 timeoutSeconds: 1
pramodad6382f2018-03-28 22:32:00 +000054 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
Sylvain Desbureauxbe728882020-03-06 08:58:23 +010056 port: api
pramodad6382f2018-03-28 22:32:00 +000057 enabled: true
58
59readiness:
sunil unnavab96a3912018-12-06 09:50:39 -050060 initialDelaySeconds: 70
pramodad6382f2018-03-28 22:32:00 +000061 periodSeconds: 10
su622b8b763cd2019-10-14 15:37:37 -040062 timeoutSeconds: 1
Sylvain Desbureauxbe728882020-03-06 08:58:23 +010063 port: api
pramodad6382f2018-03-28 22:32:00 +000064
65service:
66 type: NodePort
67 name: message-router
Sylvain Desbureauxbe728882020-03-06 08:58:23 +010068 both_tls_and_plain: true
69 msb:
gummara72e6de2020-03-12 11:15:56 +000070 - port: 3904
71 url: "/"
72 version: "v1"
73 protocol: "REST"
74 visualRange: "1"
Sylvain Desbureauxbe728882020-03-06 08:58:23 +010075 ports:
76 - name: api
77 port: 3905
78 plain_port: 3904
79 port_protocol: http
80 nodePort: 26
pramodad6382f2018-03-28 22:32:00 +000081
su622ba3865652020-03-25 17:26:51 -040082prometheus:
83 jmx:
84 enabled: false
85 image: solsson/kafka-prometheus-jmx-exporter@sha256
86 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
su622ba3865652020-03-25 17:26:51 -040087 port: 5556
88 targetPort: 5555
89
pramodad6382f2018-03-28 22:32:00 +000090ingress:
91 enabled: false
Lucjan Bryndza05649652020-04-29 08:52:33 +000092 service:
93 - baseaddr: "mr.api"
94 name: "message-router"
95 port: 3905
96 config:
Sylvain Desbureaux12b18332020-05-06 15:21:31 +020097 ssl: "redirect"
Lucjan Bryndza05649652020-04-29 08:52:33 +000098
pramodad6382f2018-03-28 22:32:00 +000099
Prateekinlinux9f5dc042018-09-20 14:08:54 +0000100# Resource Limit flavor -By Default using small
101flavor: small
102# Segregation for Different environment (Small and Large)
103resources:
104 small:
105 limits:
106 cpu: 2000m
107 memory: 4Gi
108 requests:
109 cpu: 500m
110 memory: 1Gi
111 large:
112 limits:
113 cpu: 4000m
114 memory: 8Gi
115 requests:
116 cpu: 1000m
117 memory: 2Gi
118 unlimited: {}