From 9542c7b226ad07f4cce66f6ac54547da75a9273a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emre=20Ayd=C4=B1n?= Date: Mon, 11 Dec 2023 11:20:07 +0300 Subject: [PATCH] Use container ports for proxy stateful set probes (#410) Using service ports cause probes to fail. Co-authored-by: emre --- charts/pulsar/templates/proxy-statefulset.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/pulsar/templates/proxy-statefulset.yaml b/charts/pulsar/templates/proxy-statefulset.yaml index 756253d2..ccbb21d1 100644 --- a/charts/pulsar/templates/proxy-statefulset.yaml +++ b/charts/pulsar/templates/proxy-statefulset.yaml @@ -147,7 +147,7 @@ spec: livenessProbe: httpGet: path: /status.html - port: {{ .Values.proxy.ports.http }} + port: {{ .Values.proxy.ports.containerPorts.http }} initialDelaySeconds: {{ .Values.proxy.probe.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.proxy.probe.liveness.periodSeconds }} timeoutSeconds: {{ .Values.proxy.probe.liveness.timeoutSeconds }} @@ -157,7 +157,7 @@ spec: readinessProbe: httpGet: path: /status.html - port: {{ .Values.proxy.ports.http }} + port: {{ .Values.proxy.ports.containerPorts.http }} initialDelaySeconds: {{ .Values.proxy.probe.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.proxy.probe.readiness.periodSeconds }} timeoutSeconds: {{ .Values.proxy.probe.readiness.timeoutSeconds }} @@ -167,7 +167,7 @@ spec: startupProbe: httpGet: path: /status.html - port: {{ .Values.proxy.ports.http }} + port: {{ .Values.proxy.ports.containerPorts.http }} initialDelaySeconds: {{ .Values.proxy.probe.startup.initialDelaySeconds }} periodSeconds: {{ .Values.proxy.probe.startup.periodSeconds }} timeoutSeconds: {{ .Values.proxy.probe.startup.timeoutSeconds }}