1 # Copyright © 2022 Nordix Foundation
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
19 nodePortPrefixExt: 304
21 mountPath: /dockerdata-nfs
24 baseurl: &baseurl "simpledemo.onap.org"
26 postaddr: &postaddr ""
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
35 saslMechanism: &saslMech scram-sha-512
36 kafkaInternalPort: &plainPort 9092
37 strimziKafkaAdminUser: &adminUser strimzi-kafka-admin
38 advertisedHost: kafka-api.simpledemo.onap.org
39 advertizedPortBroker0: &advertizedPortBroker0 9000
40 advertizedPortBroker1: &advertizedPortBroker1 9001
41 advertizedPortBroker2: &advertizedPortBroker2 9002
44 enabled: &pvenabled true
45 mountPath: /dockerdata-nfs
48 # default values of 2Gi for dev env.
49 # Production values should be dimensioned according to requirements. ie >= 10Gi
51 volumeReclaimPolicy: Retain
52 accessMode: ReadWriteOnce
53 mountPath: /dockerdata-nfs
54 mountSubPath: strimzi-kafka/kafka
58 volumeReclaimPolicy: Retain
59 accessMode: ReadWriteOnce
60 mountPath: /dockerdata-nfs
61 mountSubPath: strimzi-kafka/zk
65 nameOverride: strimzi-kafka
72 - baseaddr: "kafka-bootstrap-api"
73 name: "onap-strimzi-kafka-external-bootstrap"
78 - baseaddr: "kafka-api"
80 - name: "onap-strimzi-kafka-0"
82 exposedPort: *advertizedPortBroker0
84 - name: "onap-strimzi-kafka-1"
86 exposedPort: *advertizedPortBroker1
88 - name: "onap-strimzi-kafka-2"
90 exposedPort: *advertizedPortBroker2
93 # Kafka Exporter for metrics
99 type: jmxPrometheusExporter
110 enableSaramaLogging: true
112 initialDelaySeconds: 15
115 initialDelaySeconds: 15
118 # Prometheus pre requisite. Currently an optional addon in the OOM docs
120 # default port for strimzi metrics
121 port: "tcp-prometheus"
122 # podMonitor labels for prometheus to pick up the podMonitor
127 metricRelabelings: []
130 ## Cruise Control provides a Kafka metrics reporter implementation
131 ## once installed into the Kafka brokers, filters and records a wide range of metrics provided by the brokers themselves.
132 ## pre requisite is having 2 or more broker nodes
135 type: jmxPrometheusExporter
136 ## Custom resource for Kafka that can rebalance your cluster
137 # ref. https://strimzi.io/blog/2020/06/15/cruise-control/
141 ######################
142 # Component overrides
143 ######################
144 strimzi-kafka-bridge:
147 saslMechanism: *saslMech
148 kafkaInternalPort: *plainPort
149 strimziKafkaAdminUser: *adminUser