diff --git a/charts/pulsar/templates/proxy-service.yaml b/charts/pulsar/templates/proxy-service.yaml index d55ad0dc..302a3d7f 100644 --- a/charts/pulsar/templates/proxy-service.yaml +++ b/charts/pulsar/templates/proxy-service.yaml @@ -32,6 +32,9 @@ metadata: {{- end }} spec: type: {{ .Values.proxy.service.type }} + {{- with .Values.proxy.service.loadBalancerIP }} + loadBalancerIP: {{ . }} + {{- end }} ports: {{- if or (not .Values.tls.enabled) (not .Values.tls.proxy.enabled) }} - name: http diff --git a/charts/pulsar/values.yaml b/charts/pulsar/values.yaml index eb3c60c3..3798685b 100644 --- a/charts/pulsar/values.yaml +++ b/charts/pulsar/values.yaml @@ -956,6 +956,8 @@ proxy: service: annotations: {} type: LoadBalancer + ## Optional. Leave it blank to get next available random IP. + loadBalancerIP: "" ## Proxy ingress ## templates/proxy-ingress.yaml ##