From: Kai Moritz Date: Wed, 27 Sep 2023 20:45:51 +0000 (+0200) Subject: WIP X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=f6f4b85f752eef26c964f50b5c500dc8e834dbc8;p=demos%2Fkafka%2Fmonitoring WIP --- diff --git a/kubernetes/kafka-1-cluster.yaml b/kubernetes/kafka-1-cluster.yaml index 13265d7..ce36e61 100644 --- a/kubernetes/kafka-1-cluster.yaml +++ b/kubernetes/kafka-1-cluster.yaml @@ -3,15 +3,15 @@ kind: Service metadata: labels: kafka: kafka-1 - name: kafka-1 + name: kafka-1-cluster namespace: kafka spec: ports: - - name: "9081" - port: 9081 - targetPort: 9081 - - name: "7001" - port: 7001 + - name: "9092" + port: 9092 + targetPort: 9092 + - name: "7000" + port: 7000 targetPort: 7000 selector: kafka: kafka-1 diff --git a/kubernetes/kafka-1-localhost.yaml b/kubernetes/kafka-1-localhost.yaml index 13265d7..a6253dc 100644 --- a/kubernetes/kafka-1-localhost.yaml +++ b/kubernetes/kafka-1-localhost.yaml @@ -3,7 +3,7 @@ kind: Service metadata: labels: kafka: kafka-1 - name: kafka-1 + name: kafka-1-localhost namespace: kafka spec: ports: diff --git a/kubernetes/kafka-2-cluster.yaml b/kubernetes/kafka-2-cluster.yaml index d2a32d1..815ba6a 100644 --- a/kubernetes/kafka-2-cluster.yaml +++ b/kubernetes/kafka-2-cluster.yaml @@ -3,18 +3,15 @@ kind: Service metadata: labels: kafka: kafka-2 - name: kafka-2 + name: kafka-2-cluster namespace: kafka spec: ports: - name: "9092" port: 9092 - targetPort: 9082 - - name: "9082" - port: 9082 - targetPort: 9082 - - name: "7002" - port: 7002 + targetPort: 9092 + - name: "7000" + port: 7000 targetPort: 7000 selector: kafka: kafka-2 diff --git a/kubernetes/kafka-2-localhost.yaml b/kubernetes/kafka-2-localhost.yaml index d2a32d1..dc87712 100644 --- a/kubernetes/kafka-2-localhost.yaml +++ b/kubernetes/kafka-2-localhost.yaml @@ -3,9 +3,10 @@ kind: Service metadata: labels: kafka: kafka-2 - name: kafka-2 + name: kafka-2-localhost namespace: kafka spec: + type: NodePort ports: - name: "9092" port: 9092 diff --git a/kubernetes/kafka-3-cluster.yaml b/kubernetes/kafka-3-cluster.yaml index be27112..256065e 100644 --- a/kubernetes/kafka-3-cluster.yaml +++ b/kubernetes/kafka-3-cluster.yaml @@ -3,15 +3,15 @@ kind: Service metadata: labels: kafka: kafka-3 - name: kafka-3 + name: kafka-3-cluster namespace: kafka spec: ports: - - name: "9083" - port: 9083 - targetPort: 9083 - - name: "7003" - port: 7003 + - name: "9092" + port: 9092 + targetPort: 9092 + - name: "7000" + port: 7000 targetPort: 7000 selector: kafka: kafka-3 diff --git a/kubernetes/kafka-3-localhost.yaml b/kubernetes/kafka-3-localhost.yaml index be27112..ac9e328 100644 --- a/kubernetes/kafka-3-localhost.yaml +++ b/kubernetes/kafka-3-localhost.yaml @@ -3,7 +3,7 @@ kind: Service metadata: labels: kafka: kafka-3 - name: kafka-3 + name: kafka-3-localhost namespace: kafka spec: ports: diff --git a/kubernetes/kafka-4-cluster.yaml b/kubernetes/kafka-4-cluster.yaml index b616e9e..6155fcb 100644 --- a/kubernetes/kafka-4-cluster.yaml +++ b/kubernetes/kafka-4-cluster.yaml @@ -3,15 +3,15 @@ kind: Service metadata: labels: kafka: kafka-4 - name: kafka-4 + name: kafka-4-cluster namespace: kafka spec: ports: - - name: "9084" - port: 9084 - targetPort: 9084 - - name: "7004" - port: 7004 + - name: "9092" + port: 9092 + targetPort: 9092 + - name: "7000" + port: 7000 targetPort: 7000 selector: kafka: kafka-4 diff --git a/kubernetes/kafka-4-localhost.yaml b/kubernetes/kafka-4-localhost.yaml index b616e9e..9408c3a 100644 --- a/kubernetes/kafka-4-localhost.yaml +++ b/kubernetes/kafka-4-localhost.yaml @@ -3,7 +3,7 @@ kind: Service metadata: labels: kafka: kafka-4 - name: kafka-4 + name: kafka-4-localhost namespace: kafka spec: ports: diff --git a/kubernetes/kafka-5-cluster.yaml b/kubernetes/kafka-5-cluster.yaml index bf551cd..ed58f91 100644 --- a/kubernetes/kafka-5-cluster.yaml +++ b/kubernetes/kafka-5-cluster.yaml @@ -3,15 +3,15 @@ kind: Service metadata: labels: kafka: kafka-5 - name: kafka-5 + name: kafka-5-cluster namespace: kafka spec: ports: - - name: "9085" - port: 9085 - targetPort: 9085 - - name: "7005" - port: 7005 + - name: "9092" + port: 9092 + targetPort: 9092 + - name: "7000" + port: 7000 targetPort: 7000 selector: kafka: kafka-5 diff --git a/kubernetes/kafka-5-localhost.yaml b/kubernetes/kafka-5-localhost.yaml index bf551cd..fef952a 100644 --- a/kubernetes/kafka-5-localhost.yaml +++ b/kubernetes/kafka-5-localhost.yaml @@ -3,7 +3,7 @@ kind: Service metadata: labels: kafka: kafka-5 - name: kafka-5 + name: kafka-5-localhost namespace: kafka spec: ports: