From 65dc68654b33f7e7987f6f9590a319deae245238 Mon Sep 17 00:00:00 2001 From: Frank Kelly <62910985+frankjkelly@users.noreply.github.com> Date: Thu, 26 Aug 2021 02:13:47 -0400 Subject: [PATCH] ZooKeeper HTTP port should be exposed by service so we can use prometheus (#143) Fixes #142 ### Motivation Expose HTTP Port on ZooKeeper service so we can use Prometheus ### Modifications Bug fix to expose HTTP port on ZooKeeper service --- charts/pulsar/templates/zookeeper-service.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/pulsar/templates/zookeeper-service.yaml b/charts/pulsar/templates/zookeeper-service.yaml index 7ee9890..a71849b 100644 --- a/charts/pulsar/templates/zookeeper-service.yaml +++ b/charts/pulsar/templates/zookeeper-service.yaml @@ -31,6 +31,9 @@ metadata: {{ toYaml .Values.zookeeper.service.annotations | indent 4 }} spec: ports: + # prometheus needs to access /metrics endpoint + - name: http + port: {{ .Values.zookeeper.ports.http }} - name: follower port: {{ .Values.zookeeper.ports.follower }} - name: leader-election