Strimzi - Blog 2: Make the cluster externally accessible (without TLS)
authorKai Moritz <kai@juplo.de>
Tue, 3 Oct 2023 10:30:40 +0000 (12:30 +0200)
committerKai Moritz <kai@juplo.de>
Wed, 4 Oct 2023 17:25:56 +0000 (19:25 +0200)
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

strimzi-kafka/cluster.yaml

index e666339..93fc18f 100644 (file)
@@ -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