From: Kai Moritz Date: Tue, 3 Oct 2023 10:30:40 +0000 (+0200) Subject: Strimzi - Blog 2: Make the cluster externally accessible (without TLS) X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=2459339998f7729d72a8b629347f331ffb056c6e;p=demos%2Fkafka%2Fmonitoring Strimzi - Blog 2: Make the cluster externally accessible (without TLS) See: https://itnext.io/kafka-on-kubernetes-the-strimzi-way-part-2-43192f1dd831 microk8s enable metallb kubectl -n juplo apply -f cluster.yaml kubectl -n juplo get configmap/strimzi-kafka-0 -o yaml kubectl -n juplo get services kafkacat -b 192.168.66.0 -L --- diff --git a/strimzi-kafka/cluster.yaml b/strimzi-kafka/cluster.yaml index e666339..93fc18f 100644 --- a/strimzi-kafka/cluster.yaml +++ b/strimzi-kafka/cluster.yaml @@ -11,6 +11,10 @@ spec: port: 9092 type: internal tls: false + - name: external + port: 9093 + type: loadbalancer + tls: false config: offsets.topic.replication.factor: 1 transaction.state.log.replication.factor: 1