Fix OOM issue on broker wait-zookeeper-ready initContainer (#568)

This commit is contained in:
Alejandro Ramirez 2025-02-19 00:26:39 -06:00 committed by GitHub
parent e55405cbe2
commit 0b6b03002c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ spec:
args: args:
- >- - >-
{{- include "pulsar.broker.zookeeper.tls.settings" . | nindent 12 }} {{- include "pulsar.broker.zookeeper.tls.settings" . | nindent 12 }}
export BOOKIE_MEM="-Xmx128M"; export PULSAR_MEM="-Xmx128M";
{{- if .Values.pulsar_metadata.configurationStore }} {{- 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 until timeout 15 bin/pulsar zookeeper-shell -server {{ template "pulsar.configurationStore.connect" . }} get {{ .Values.configurationStoreMetadataPrefix }}/admin/clusters/{{ template "pulsar.cluster.name" . }}; do
{{- end }} {{- end }}