From: Kai Moritz Date: Tue, 3 Oct 2023 07:16:31 +0000 (+0200) Subject: Strimzi - https://strimzi.io/quickstarts/ (with only 1Gi) -- WORKS X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=9254deb0114030af9e7537014f8874c2a0921b2b;p=demos%2Fkafka%2Fmonitoring 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` --- 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: {}