blob: 3cced3e41a90500ab5609c3d84a892a2941c84f5 [file] [log] [blame]
efiacor5c573312022-01-27 13:46:56 +00001# Copyright © 2022 Nordix Foundation
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
15#################################################################
16# Global configuration defaults.
17#################################################################
18global:
efiacoraf68a7e2022-04-08 10:59:52 +010019 nodePortPrefixExt: 304
efiacor5c573312022-01-27 13:46:56 +000020 persistence:
21 mountPath: /dockerdata-nfs
Andreas Geissler29007652023-03-23 14:05:45 +010022 ingress:
23 virtualhost:
24 baseurl: &baseurl "simpledemo.onap.org"
25 preaddr: &preaddr ""
26 postaddr: &postaddr ""
27
efiacor5c573312022-01-27 13:46:56 +000028#################################################################
29# Application configuration defaults.
30#################################################################
efiacor1cfa2fb2022-06-01 16:02:39 +010031replicaCount: 3
Andreas Geissler64f95b12023-11-17 11:35:18 +010032affinity:
33 podAntiAffinity:
34 enabled: true
efiacor57901a92022-11-14 16:17:15 +000035config:
Andreas Geissler54ee9822024-02-07 16:34:36 +010036 kafkaVersion: 3.7.0
efiacor57901a92022-11-14 16:17:15 +000037 authType: simple
38 saslMechanism: &saslMech scram-sha-512
39 kafkaInternalPort: &plainPort 9092
40 strimziKafkaAdminUser: &adminUser strimzi-kafka-admin
Andreas Geisslereb68c402023-02-23 11:09:01 +010041 advertisedHost: kafka-api.simpledemo.onap.org
42 advertizedPortBroker0: &advertizedPortBroker0 9000
43 advertizedPortBroker1: &advertizedPortBroker1 9001
44 advertizedPortBroker2: &advertizedPortBroker2 9002
Lukasz Rajewski3d097d92023-10-02 13:10:15 +020045 autoCreateTopics: true
efiacor5c573312022-01-27 13:46:56 +000046
efiacor57901a92022-11-14 16:17:15 +000047persistence:
48 enabled: &pvenabled true
efiacor5c573312022-01-27 13:46:56 +000049 mountPath: /dockerdata-nfs
efiacor57901a92022-11-14 16:17:15 +000050 kafka:
51 enabled: *pvenabled
52 # default values of 2Gi for dev env.
53 # Production values should be dimensioned according to requirements. ie >= 10Gi
54 size: 2Gi
55 volumeReclaimPolicy: Retain
56 accessMode: ReadWriteOnce
57 mountPath: /dockerdata-nfs
58 mountSubPath: strimzi-kafka/kafka
59 zookeeper:
60 enabled: *pvenabled
61 size: 1Gi
62 volumeReclaimPolicy: Retain
63 accessMode: ReadWriteOnce
64 mountPath: /dockerdata-nfs
65 mountSubPath: strimzi-kafka/zk
efiacor5c573312022-01-27 13:46:56 +000066
67#Pods Service Account
68serviceAccount:
69 nameOverride: strimzi-kafka
70 roles:
71 - read
efiacor57901a92022-11-14 16:17:15 +000072
Andreas Geisslereb68c402023-02-23 11:09:01 +010073ingress:
74 enabled: false
75 service:
76 - baseaddr: "kafka-bootstrap-api"
77 name: "onap-strimzi-kafka-external-bootstrap"
78 port: 9094
Andreas Geissler29007652023-03-23 14:05:45 +010079 protocol: tcp
Andreas Geisslereb68c402023-02-23 11:09:01 +010080 exposedPort: 9010
81 exposedProtocol: TLS
Andreas Geissler29007652023-03-23 14:05:45 +010082 - baseaddr: "kafka-api"
83 tcpRoutes:
84 - name: "onap-strimzi-kafka-0"
85 port: 9094
86 exposedPort: *advertizedPortBroker0
87 exposedProtocol: TLS
88 - name: "onap-strimzi-kafka-1"
89 port: 9094
90 exposedPort: *advertizedPortBroker1
91 exposedProtocol: TLS
92 - name: "onap-strimzi-kafka-2"
93 port: 9094
94 exposedPort: *advertizedPortBroker2
95 exposedProtocol: TLS
Andreas Geisslereb68c402023-02-23 11:09:01 +010096
miroslavmasarykaa5f0fa2023-03-20 10:21:36 +010097# Kafka Exporter for metrics
98metrics:
99 enabled: false
100 kafkaExporter:
101 enabled: false
102 metricsConfig:
103 type: jmxPrometheusExporter
104 topicRegex: ".*"
105 groupRegex: ".*"
106 resources:
107 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100108 cpu: "2"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100109 memory: "600Mi"
miroslavmasarykaa5f0fa2023-03-20 10:21:36 +0100110 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100111 cpu: "5"
112 memory: "1.5Gi"
miroslavmasarykaa5f0fa2023-03-20 10:21:36 +0100113 logging: debug
114 enableSaramaLogging: true
115 readinessProbe:
116 initialDelaySeconds: 15
117 timeoutSeconds: 5
118 livenessProbe:
119 initialDelaySeconds: 15
120 timeoutSeconds: 5
121 podMonitor:
122 # Prometheus pre requisite. Currently an optional addon in the OOM docs
123 enabled: false
124 # default port for strimzi metrics
125 port: "tcp-prometheus"
126 # podMonitor labels for prometheus to pick up the podMonitor
127 # dummy value
128 labels:
129 release: dummy
130 relabelings: []
131 metricRelabelings: []
132
133cruiseControl:
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
137 enabled: false
138 metricsConfig:
139 type: jmxPrometheusExporter
140 ## Custom resource for Kafka that can rebalance your cluster
141 # ref. https://strimzi.io/blog/2020/06/15/cruise-control/
142 kafkaRebalance:
143 enabled: false
144
efiacor57901a92022-11-14 16:17:15 +0000145######################
146# Component overrides
147######################
148strimzi-kafka-bridge:
149 enabled: true
150 config:
151 saslMechanism: *saslMech
152 kafkaInternalPort: *plainPort
Andreas Geisslerbc950b52023-05-30 16:40:49 +0200153 strimziKafkaAdminUser: *adminUser