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 #################################################################
38 saslMechanism: &saslMech scram-sha-512
39 kafkaInternalPort: &plainPort 9092
40 strimziKafkaAdminUser: &adminUser strimzi-kafka-admin
41 advertisedHost: kafka-api.simpledemo.onap.org
42 advertizedPortBroker0: &advertizedPortBroker0 9000
43 advertizedPortBroker1: &advertizedPortBroker1 9001
44 advertizedPortBroker2: &advertizedPortBroker2 9002
45 autoCreateTopics: true
48 enabled: &pvenabled true
49 mountPath: /dockerdata-nfs
52 # default values of 2Gi for dev env.
53 # Production values should be dimensioned according to requirements. ie >= 10Gi
55 volumeReclaimPolicy: Retain
56 accessMode: ReadWriteOnce
57 mountPath: /dockerdata-nfs
58 mountSubPath: strimzi-kafka/kafka
62 volumeReclaimPolicy: Retain
63 accessMode: ReadWriteOnce
64 mountPath: /dockerdata-nfs
65 mountSubPath: strimzi-kafka/zk
69 nameOverride: strimzi-kafka
76 - baseaddr: "kafka-bootstrap-api"
77 name: "onap-strimzi-kafka-external-bootstrap"
82 - baseaddr: "kafka-api"
84 - name: "onap-strimzi-kafka-0"
86 exposedPort: *advertizedPortBroker0
88 - name: "onap-strimzi-kafka-1"
90 exposedPort: *advertizedPortBroker1
92 - name: "onap-strimzi-kafka-2"
94 exposedPort: *advertizedPortBroker2
97 # Kafka Exporter for metrics
103 type: jmxPrometheusExporter
114 enableSaramaLogging: true
116 initialDelaySeconds: 15
119 initialDelaySeconds: 15
122 # Prometheus pre requisite. Currently an optional addon in the OOM docs
124 # default port for strimzi metrics
125 port: "tcp-prometheus"
126 # podMonitor labels for prometheus to pick up the podMonitor
131 metricRelabelings: []
134 ## Cruise Control provides a Kafka metrics reporter implementation
135 ## once installed into the Kafka brokers, filters and records a wide range of metrics provided by the brokers themselves.
136 ## pre requisite is having 2 or more broker nodes
139 type: jmxPrometheusExporter
140 ## Custom resource for Kafka that can rebalance your cluster
141 # ref. https://strimzi.io/blog/2020/06/15/cruise-control/
145 ######################
146 # Component overrides
147 ######################
148 strimzi-kafka-bridge:
151 saslMechanism: *saslMech
152 kafkaInternalPort: *plainPort
153 strimziKafkaAdminUser: *adminUser