-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathkafka-cr.yaml
78 lines (78 loc) · 1.72 KB
/
kafka-cr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: kafka-cluster
namespace: kafka
spec:
entityOperator:
topicOperator: {}
userOperator: {}
kafka:
resources:
limits:
cpu: '4'
memory: 8Gi
requests:
cpu: '2'
memory: 6Gi
config:
default.replication.factor: 3
inter.broker.protocol.version: '3.7'
min.insync.replicas: 2
offsets.topic.replication.factor: 3
transaction.state.log.min.isr: 2
transaction.state.log.replication.factor: 3
authorization:
type: simple
listeners:
- name: plain
port: 9092
tls: false
type: internal
- name: tls
port: 9093
tls: true
type: internal
- name: external
port: 9094
type: route
tls: true
authentication:
type: scram-sha-512
jvmOptions:
'-XX':
InitiatingHeapOccupancyPercent: "45"
MaxGCPauseMillis: "200"
UseG1GC: "true"
UseStringDeduplication: "true"
'-Xms': 6g
'-Xmx': 6g
gcLoggingEnabled: true
metricsConfig:
type: jmxPrometheusExporter
valueFrom:
configMapKeyRef:
key: kafka-metrics-config.yml
name: kafka-metrics
replicas: 3
storage:
class: gp3-csi
deleteClaim: true
size: 20Gi
type: persistent-claim
version: 3.7.0
kafkaExporter:
groupRegex: ".*"
topicRegex: ".*"
zookeeper:
metricsConfig:
type: jmxPrometheusExporter
valueFrom:
configMapKeyRef:
key: zookeeper-metrics-config.yml
name: kafka-metrics
replicas: 3
storage:
class: gp3-csi
size: 10Gi
type: persistent-claim