From 762c88e596dd3d8b062f8c98d77a965b3d241e1e Mon Sep 17 00:00:00 2001 From: dgtown Date: Fri, 1 Mar 2024 16:40:40 -0500 Subject: [PATCH] add timeoutSeconds to worker probes --- applications/worker/templates/deployment.yaml | 2 ++ applications/worker/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/applications/worker/templates/deployment.yaml b/applications/worker/templates/deployment.yaml index cd9f406e1..959737ed1 100644 --- a/applications/worker/templates/deployment.yaml +++ b/applications/worker/templates/deployment.yaml @@ -151,6 +151,7 @@ spec: periodSeconds: {{ .Values.health.readinessProbe.periodSeconds }} failureThreshold: {{ .Values.health.readinessProbe.failureThreshold }} initialDelaySeconds: {{ .Values.health.readinessProbe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.health.readinessProbe.timeoutSeconds }} {{- end }} {{ if .Values.health.livenessProbe.enabled }} livenessProbe: @@ -162,6 +163,7 @@ spec: periodSeconds: {{ .Values.health.livenessProbe.periodSeconds }} failureThreshold: {{ .Values.health.livenessProbe.failureThreshold }} initialDelaySeconds: {{ .Values.health.livenessProbe.initialDelaySeconds }} + timeoutSeconds: {{ .Values.health.livenessProbe.timeoutSeconds }} {{- end }} resources: requests: diff --git a/applications/worker/values.yaml b/applications/worker/values.yaml index 90955ee66..3abad9ba4 100644 --- a/applications/worker/values.yaml +++ b/applications/worker/values.yaml @@ -93,12 +93,14 @@ health: failureThreshold: 3 periodSeconds: 5 initialDelaySeconds: 5 + timeoutSeconds: 1 readinessProbe: enabled: false command: "ls -l" failureThreshold: 3 periodSeconds: 5 initialDelaySeconds: 5 + timeoutSeconds: 1 startupProbe: enabled: false command: "ls -l"