From: Kai Moritz Date: Tue, 3 Oct 2023 06:49:53 +0000 (+0200) Subject: Strimzi - Blog 1: First example, with some minor changes -- DOES NOT WORK X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=d371d3a317178bcd294c85dfe118bdb61c5f10f1;p=demos%2Fkafka%2Fmonitoring Strimzi - Blog 1: First example, with some minor changes -- DOES NOT WORK See: https://itnext.io/kafka-on-kubernetes-the-strimzi-way-part-1-bdff3e451788 Start with: `kubectl -n juplo apply -f cluster.yaml` --- diff --git a/strimzi-kafka/cluster.yaml b/strimzi-kafka/cluster.yaml new file mode 100644 index 0000000..8e12be7 --- /dev/null +++ b/strimzi-kafka/cluster.yaml @@ -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