Fix OOM issue on broker wait-zookeeper-ready initContainer (#568)
This commit is contained in:
parent
e55405cbe2
commit
0b6b03002c
@ -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 }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user