[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   readinessImage: onap/oom/readiness:3.0.1
22   loggingRepository: docker.elastic.co
23   loggingImage: beats/filebeat:5.5.0
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 # application image
29 repository: nexus3.onap.org:10001
30 image: onap/dmaap/dmaap-mr:1.1.18
31 pullPolicy: Always
32
33 kafka:
34   name: message-router-kafka
35   port: 9092
36 zookeeper:
37   name: message-router-zookeeper
38   port: 2181
39
40 # flag to enable debugging - application support required
41 debugEnabled: false
42
43 # application configuration
44 config: {}
45
46 # default number of instances
47 replicaCount: 1
48
49 nodeSelector: {}
50
51 affinity: {}
52
53 # probe configuration parameters
54 liveness:
55   initialDelaySeconds: 70
56   periodSeconds: 10
57   timeoutSeconds: 1
58   # necessary to disable liveness probe when setting breakpoints
59   # in debugger so K8s doesn't restart unresponsive container
60   port: api
61   enabled: true
62
63 readiness:
64   initialDelaySeconds: 70
65   periodSeconds: 10
66   timeoutSeconds: 1
67   port: api
68
69 service:
70   type: NodePort
71   name: message-router
72   both_tls_and_plain: true
73   msb:
74     - port: 3904
75       url: "/"
76       version: "v1"
77       protocol: "REST"
78       visualRange: "1"
79   ports:
80     - name: api
81       port: 3905
82       plain_port: 3904
83       port_protocol: http
84       nodePort: 26
85
86 prometheus:
87   jmx:
88     enabled: false
89     image: solsson/kafka-prometheus-jmx-exporter@sha256
90     imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
91     imageRepository: docker.io
92     port: 5556
93     targetPort: 5555
94
95 ingress:
96   enabled: false
97   service:
98     - baseaddr: "mr.api"
99       name: "message-router"
100       port: 3905
101   config:
102     ssl: "redirect"
103
104
105 # Resource Limit flavor -By Default using small
106 flavor: small
107 # Segregation for Different environment (Small and Large)
108 resources:
109   small:
110     limits:
111       cpu: 2000m
112       memory: 4Gi
113     requests:
114       cpu: 500m
115       memory: 1Gi
116   large:
117     limits:
118       cpu: 4000m
119       memory: 8Gi
120     requests:
121       cpu: 1000m
122       memory: 2Gi
123   unlimited: {}