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