From 0b6b03002c59c7179a84033908c5e58de5d9b5dc Mon Sep 17 00:00:00 2001 From: Alejandro Ramirez <4050651+got-root@users.noreply.github.com> Date: Wed, 19 Feb 2025 00:26:39 -0600 Subject: [PATCH] Fix OOM issue on broker wait-zookeeper-ready initContainer (#568) --- charts/pulsar/templates/broker-statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pulsar/templates/broker-statefulset.yaml b/charts/pulsar/templates/broker-statefulset.yaml index 45915ff..0c9bf5b 100644 --- a/charts/pulsar/templates/broker-statefulset.yaml +++ b/charts/pulsar/templates/broker-statefulset.yaml @@ -138,7 +138,7 @@ spec: args: - >- {{- include "pulsar.broker.zookeeper.tls.settings" . | nindent 12 }} - export BOOKIE_MEM="-Xmx128M"; + export PULSAR_MEM="-Xmx128M"; {{- if .Values.pulsar_metadata.configurationStore }} until timeout 15 bin/pulsar zookeeper-shell -server {{ template "pulsar.configurationStore.connect" . }} get {{ .Values.configurationStoreMetadataPrefix }}/admin/clusters/{{ template "pulsar.cluster.name" . }}; do {{- end }}