Strimzi - https://strimzi.io/quickstarts/ (with only 1Gi) -- WORKS
authorKai Moritz <kai@juplo.de>
Tue, 3 Oct 2023 07:16:31 +0000 (09:16 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 4 Oct 2023 17:25:56 +0000 (19:25 +0200)
See:
https://strimzi.io/examples/latest/kafka/kafka-persistent-single.yaml

Start with: `kubectl -n juplo apply -f cluster.yaml`

strimzi-kafka/cluster.yaml

index 4eb3248..8baf802 100644 (file)
@@ -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: {}