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
36 heapOptions: -Xmx5G -Xms1G
37 jaasOptions: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/zk_client_jaas.conf
38 jaasOptionsAaf: -Djava.security.auth.login.config=/etc/kafka/secrets/jaas/kafka_server_jaas.conf
40 protocolMapAaf: INTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT,EXTERNAL_SASL_PLAINTEXT:SASL_PLAINTEXT
41 protocolMap: INTERNAL_PLAINTEXT:PLAINTEXT,EXTERNAL_PLAINTEXT:PLAINTEXT
42 listenersAaf: EXTERNAL_SASL_PLAINTEXT://0.0.0.0:9091,INTERNAL_SASL_PLAINTEXT://0.0.0.0:9092
43 listeners: EXTERNAL_PLAINTEXT://0.0.0.0:9091,INTERNAL_PLAINTEXT://0.0.0.0:9092
44 authorizer: org.onap.dmaap.kafkaAuthorize.KafkaCustomAuthorizer
45 saslInterBrokerProtocol: PLAIN
47 interBrokerListernerAaf: INTERNAL_SASL_PLAINTEXT
48 interBrokerListerner: INTERNAL_PLAINTEXT
51 configurationOverrides:
52 "offsets.topic.replication.factor": "3"
53 "log.dirs": "/var/lib/kafka/data"
54 "log.retention.hours": "168"
56 "offsets.topic.replication.factor": "3"
57 "transaction.state.log.replication.factor": "1"
58 "transaction.state.log.min.isr": "1"
59 "num.recovery.threads.per.data.dir": "5"
60 "log.retention.hours": "168"
61 "zookeeper.connection.timeout.ms": "6000"
62 "default.replication.factor": "3"
63 "zookeeper.set.acl": "true"
71 image: solsson/kafka-prometheus-jmx-exporter@sha256
72 imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143
78 zkClientPassword: kafka_secret
80 kafkaAdminPassword: admin_secret
81 #kafkaAdminUserExternal: some secret
82 #zkClientPasswordExternal: some secret
88 externalSecret: '{{ .Values.jaas.config.zkClientPasswordExternal}}'
89 login: '{{ .Values.jaas.config.zkClient }}'
90 password: '{{ .Values.jaas.config.zkClientPassword }}'
91 passwordPolicy: required
94 externalSecret: '{{ .Values.jaas.config.kafkaAdminUserExternal}}'
95 login: '{{ .Values.jaas.config.kafkaAdminUser }}'
96 password: '{{ .Values.jaas.config.kafkaAdminPassword }}'
97 passwordPolicy: required
99 # flag to enable debugging - application support required
102 # default number of instances
106 # 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
107 podAntiAffinityType: soft
122 # probe configuration parameters
124 initialDelaySeconds: 70
127 # necessary to disable liveness probe when setting breakpoints
128 # in debugger so K8s doesn't restart unresponsive container
132 initialDelaySeconds: 90
136 ## Persist data to a persitent volume
140 ## A manually managed Persistent Volume and Claim
141 ## Requires persistence.enabled: true
142 ## If defined, PVC must be created manually before volume will be bound
144 volumeReclaimPolicy: Retain
146 ## database data Persistent Volume Storage Class
147 ## If defined, storageClassName: <storageClass>
148 ## If set to "-", storageClassName: "", which disables dynamic provisioning
149 ## If undefined (the default) or set to null, no storageClassName spec is
150 ## set, choosing the default provisioner. (gp2 on AWS, standard on
151 ## GKE, AWS & OpenStack)
154 accessMode: ReadWriteOnce
156 mountPath: /dockerdata-nfs
157 mountSubPath: message-router/data-kafka
161 name: message-router-kafka
162 portName: message-router-kafka
164 internalSSLPort: 9093
173 # Resource Limit flavor -By Default using small
175 # Segregation for Different environment (Small and Large)