Strimzi - Blog 1: First example, with some minor changes -- DOES NOT WORK
authorKai Moritz <kai@juplo.de>
Tue, 3 Oct 2023 06:49:53 +0000 (08:49 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 4 Oct 2023 17:25:34 +0000 (19:25 +0200)
See: https://itnext.io/kafka-on-kubernetes-the-strimzi-way-part-1-bdff3e451788

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

strimzi-kafka/cluster.yaml [new file with mode: 0644]

diff --git a/strimzi-kafka/cluster.yaml b/strimzi-kafka/cluster.yaml
new file mode 100644 (file)
index 0000000..8e12be7
--- /dev/null
@@ -0,0 +1,20 @@
+apiVersion: kafka.strimzi.io/v1beta2
+kind: Kafka
+metadata:
+  name: juplo
+spec:
+  kafka:
+    version: 3.5.1
+    replicas: 1
+    listeners:
+      plain: {}
+    config:
+      offsets.topic.replication.factor: 1
+      transaction.state.log.replication.factor: 1
+      transaction.state.log.min.isr: 1
+    storage:
+      type: ephemeral
+  zookeeper:
+    replicas: 1
+    storage:
+      type: ephemeral