Use container ports for proxy stateful set probes (#410)

Using service ports cause probes to fail.

Co-authored-by: emre <emre.aydin@zapata.ai>
This commit is contained in:
Emre Aydın 2023-12-11 11:20:07 +03:00 committed by GitHub
parent 8cb3c18377
commit 9542c7b226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}