diff --git a/charts/pulsar/templates/autorecovery-statefulset.yaml b/charts/pulsar/templates/autorecovery-statefulset.yaml index 3fb22ce..0ededb7 100644 --- a/charts/pulsar/templates/autorecovery-statefulset.yaml +++ b/charts/pulsar/templates/autorecovery-statefulset.yaml @@ -129,7 +129,7 @@ spec: - > bin/apply-config-from-env.py conf/bookkeeper.conf; {{- include "pulsar.autorecovery.zookeeper.tls.settings" . | nindent 10 }} - bin/bookkeeper autorecovery + exec bin/bookkeeper autorecovery ports: - name: http containerPort: {{ .Values.autorecovery.ports.http }} diff --git a/charts/pulsar/templates/bookkeeper-statefulset.yaml b/charts/pulsar/templates/bookkeeper-statefulset.yaml index 93db78d..f5fc81a 100644 --- a/charts/pulsar/templates/bookkeeper-statefulset.yaml +++ b/charts/pulsar/templates/bookkeeper-statefulset.yaml @@ -154,7 +154,7 @@ spec: - > bin/apply-config-from-env.py conf/bookkeeper.conf; {{- include "pulsar.bookkeeper.zookeeper.tls.settings" . | nindent 10 }} - bin/pulsar bookie; + exec bin/pulsar bookie; ports: - name: bookie containerPort: {{ .Values.bookkeeper.ports.bookie }} diff --git a/charts/pulsar/templates/broker-statefulset.yaml b/charts/pulsar/templates/broker-statefulset.yaml index 63c9596..a5ce2b1 100644 --- a/charts/pulsar/templates/broker-statefulset.yaml +++ b/charts/pulsar/templates/broker-statefulset.yaml @@ -195,7 +195,7 @@ spec: bin/pulsar zookeeper-shell -server {{ template "pulsar.zookeeper.connect" . }} get {{ template "pulsar.broker.znode" . }}; done; cat conf/pulsar_env.sh; - bin/pulsar broker; + exec bin/pulsar broker; ports: # prometheus needs to access /metrics endpoint - name: http diff --git a/charts/pulsar/templates/proxy-statefulset.yaml b/charts/pulsar/templates/proxy-statefulset.yaml index 1044f52..e10722b 100644 --- a/charts/pulsar/templates/proxy-statefulset.yaml +++ b/charts/pulsar/templates/proxy-statefulset.yaml @@ -171,7 +171,7 @@ spec: - > bin/apply-config-from-env.py conf/proxy.conf && echo "OK" > status && - bin/pulsar proxy + exec bin/pulsar proxy ports: # prometheus needs to access /metrics endpoint - name: http diff --git a/charts/pulsar/templates/zookeeper-statefulset.yaml b/charts/pulsar/templates/zookeeper-statefulset.yaml index 205d540..d3effe8 100644 --- a/charts/pulsar/templates/zookeeper-statefulset.yaml +++ b/charts/pulsar/templates/zookeeper-statefulset.yaml @@ -109,7 +109,7 @@ spec: bin/apply-config-from-env.py conf/zookeeper.conf; {{- include "pulsar.zookeeper.tls.settings" . | nindent 10 }} bin/generate-zookeeper-config.sh conf/zookeeper.conf; - bin/pulsar zookeeper; + exec bin/pulsar zookeeper; ports: # prometheus needs to access /metrics endpoint - name: http