Merge "[DCAEMOD] Uses new tpls for repos / images"
[oom.git] / kubernetes / dmaap / components / message-router / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
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
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
19 global:
20   nodePortPrefix: 302
21
22 #################################################################
23 # Application configuration defaults.
24 #################################################################
25 # application image
26 image: onap/dmaap/dmaap-mr:1.1.18
27 pullPolicy: Always
28
29 kafka:
30   name: message-router-kafka
31   port: 9092
32 zookeeper:
33   name: message-router-zookeeper
34   port: 2181
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration
40 config: {}
41
42 # default number of instances
43 replicaCount: 1
44
45 nodeSelector: {}
46
47 affinity: {}
48
49 # probe configuration parameters
50 liveness:
51   initialDelaySeconds: 70
52   periodSeconds: 10
53   timeoutSeconds: 1
54   # necessary to disable liveness probe when setting breakpoints
55   # in debugger so K8s doesn't restart unresponsive container
56   port: api
57   enabled: true
58
59 readiness:
60   initialDelaySeconds: 70
61   periodSeconds: 10
62   timeoutSeconds: 1
63   port: api
64
65 service:
66   type: NodePort
67   name: message-router
68   both_tls_and_plain: true
69   msb:
70     - port: 3904
71       url: "/"
72       version: "v1"
73       protocol: "REST"
74       visualRange: "1"
75   ports:
76     - name: api
77       port: 3905
78       plain_port: 3904
79       port_protocol: http
80       nodePort: 26
81
82 prometheus:
83   jmx:
84     enabled: false
85     image: solsson/kafka-prometheus-jmx-exporter@sha256
86     imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
87     port: 5556
88     targetPort: 5555
89
90 ingress:
91   enabled: false
92   service:
93     - baseaddr: "mr.api"
94       name: "message-router"
95       port: 3905
96   config:
97     ssl: "redirect"
98
99
100 # Resource Limit flavor -By Default using small
101 flavor: small
102 # Segregation for Different environment (Small and Large)
103 resources:
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: {}