1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
27 image: onap/dmaap/kafka111:1.0.4
32 name: message-router-zookeeper
37 heapOptions: -Xmx5G -Xms1G
38 jaasOptions: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
39 jaasOptionsAaf: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/kafka_server_jaas.conf
41 protocolMapAaf: INTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT
42 protocolMap: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
43 listenersAaf: EXTERNAL_SASL_PLAINTEXT://0.0.0.0:9091,INTERNAL_SASL_PLAINTEXT://0.0.0.0:9092
44 listeners: EXTERNAL_PLAINTEXT://0.0.0.0:9091,INTERNAL_PLAINTEXT://0.0.0.0:9092
45 authorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer
46 saslInterBrokerProtocol: PLAIN
48 interBrokerListernerAaf: INTERNAL_SASL_PLAINTEXT
49 interBrokerListerner: INTERNAL_PLAINTEXT
52 configurationOverrides:
53 "offsets.topic.replication.factor": "3"
54 "log.dirs": "/var/lib/kafka/data"
55 "log.retention.hours": "168"
57 "offsets.topic.replication.factor": "3"
58 "transaction.state.log.replication.factor": "1"
59 "transaction.state.log.min.isr": "1"
60 "num.recovery.threads.per.data.dir": "5"
61 "log.retention.hours": "168"
62 "zookeeper.connection.timeout.ms": "6000"
63 "default.replication.factor": "3"
64 "zookeeper.set.acl": "true"
72 image: solsson/kafka-prometheus-jmx-exporter@sha256
73 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
79 zkClientPassword: kafka_secret
81 kafkaAdminPassword: admin_secret
82 #kafkaAdminUserExternal: some secret
83 #zkClientPasswordExternal: some secret
89 externalSecret: '{{ .Values.jaas.config.zkClientPasswordExternal}}'
90 login: '{{ .Values.jaas.config.zkClient }}'
91 password: '{{ .Values.jaas.config.zkClientPassword }}'
92 passwordPolicy: required
95 externalSecret: '{{ .Values.jaas.config.kafkaAdminUserExternal}}'
96 login: '{{ .Values.jaas.config.kafkaAdminUser }}'
97 password: '{{ .Values.jaas.config.kafkaAdminPassword }}'
98 passwordPolicy: required
100 # flag to enable debugging - application support required
103 # default number of instances
107 # To access Kafka outside cluster, this value must be set to hard and the number of nodes in K8S cluster must be equal or greater then replica count
108 podAntiAffinityType: soft
123 # probe configuration parameters
125 initialDelaySeconds: 70
128 # necessary to disable liveness probe when setting breakpoints
129 # in debugger so K8s doesn't restart unresponsive container
133 initialDelaySeconds: 90
137 ## Persist data to a persitent volume
141 ## A manually managed Persistent Volume and Claim
142 ## Requires persistence.enabled: true
143 ## If defined, PVC must be created manually before volume will be bound
145 volumeReclaimPolicy: Retain
147 ## database data Persistent Volume Storage Class
148 ## If defined, storageClassName: <storageClass>
149 ## If set to "-", storageClassName: "", which disables dynamic provisioning
150 ## If undefined (the default) or set to null, no storageClassName spec is
151 ## set, choosing the default provisioner. (gp2 on AWS, standard on
152 ## GKE, AWS & OpenStack)
155 accessMode: ReadWriteOnce
157 mountPath: /dockerdata-nfs
158 mountSubPath: message-router/data-kafka
162 name: message-router-kafka
163 portName: tcp-message-router-kafka
165 internalSSLPort: 9093
174 # Resource Limit flavor -By Default using small
176 # Segregation for Different environment (Small and Large)