From 9254deb0114030af9e7537014f8874c2a0921b2b Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Tue, 3 Oct 2023 09:16:31 +0200 Subject: [PATCH] Strimzi - https://strimzi.io/quickstarts/ (with only 1Gi) -- WORKS See: https://strimzi.io/examples/latest/kafka/kafka-persistent-single.yaml Start with: `kubectl -n juplo apply -f cluster.yaml` --- strimzi-kafka/cluster.yaml | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) diff --git a/strimzi-kafka/cluster.yaml b/strimzi-kafka/cluster.yaml index 4eb3248..8baf802 100644 --- a/strimzi-kafka/cluster.yaml +++ b/strimzi-kafka/cluster.yaml @@ -1,21 +1,40 @@ -apiVersion: kafka.strimzi.io/v1beta1 +apiVersion: kafka.strimzi.io/v1beta2 kind: Kafka metadata: name: juplo spec: kafka: - version: 2.4.0 + version: 3.5.1 replicas: 1 listeners: - plain: {} + - name: plain + port: 9092 + type: internal + tls: false + - name: tls + port: 9093 + type: internal + tls: true config: offsets.topic.replication.factor: 1 transaction.state.log.replication.factor: 1 transaction.state.log.min.isr: 1 - log.message.format.version: "2.4" + default.replication.factor: 1 + min.insync.replicas: 1 + inter.broker.protocol.version: "3.5" storage: - type: ephemeral + type: jbod + volumes: + - id: 0 + type: persistent-claim + size: 1Gi + deleteClaim: false zookeeper: replicas: 1 storage: - type: ephemeral + type: persistent-claim + size: 1Gi + deleteClaim: false + entityOperator: + topicOperator: {} + userOperator: {} -- 2.20.1