diff --git a/charts/pulsar/templates/zookeeper-service.yaml b/charts/pulsar/templates/zookeeper-service.yaml index 1f2a93aa..1907058a 100644 --- a/charts/pulsar/templates/zookeeper-service.yaml +++ b/charts/pulsar/templates/zookeeper-service.yaml @@ -40,6 +40,10 @@ spec: port: {{ .Values.zookeeper.ports.leaderElection }} - name: "{{ .Values.tcpPrefix }}client" port: {{ .Values.zookeeper.ports.client }} + {{- if .Values.zookeeper.ports.admin }} + - name: admin + port: {{ .Values.zookeeper.ports.admin }} + {{- end }} {{- if and .Values.tls.enabled .Values.tls.zookeeper.enabled }} - name: "{{ .Values.tlsPrefix }}client-tls" port: {{ .Values.zookeeper.ports.clientTls }} diff --git a/charts/pulsar/templates/zookeeper-statefulset.yaml b/charts/pulsar/templates/zookeeper-statefulset.yaml index 844f7a83..00e5faab 100755 --- a/charts/pulsar/templates/zookeeper-statefulset.yaml +++ b/charts/pulsar/templates/zookeeper-statefulset.yaml @@ -141,6 +141,10 @@ spec: containerPort: {{ .Values.zookeeper.ports.follower }} - name: leader-election containerPort: {{ .Values.zookeeper.ports.leaderElection }} + {{- if .Values.zookeeper.ports.admin }} + - name: admin + containerPort: {{ .Values.zookeeper.ports.admin }} + {{- end }} {{- if and .Values.tls.enabled .Values.tls.zookeeper.enabled }} - name: client-tls containerPort: {{ .Values.zookeeper.ports.clientTls }} diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml index 8604c7c4..6fe428c5 100755 --- a/charts/pulsar/values.yaml +++ b/charts/pulsar/values.yaml @@ -330,6 +330,7 @@ zookeeper: clientTls: 2281 follower: 2888 leaderElection: 3888 + # admin: 9990 # nodeSelector: # cloud.google.com/gke-nodepool: default-pool probe: