From 8560854064a5647e3a7ba1fee39ec7cc2c94c113 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Sun, 16 Jun 2019 23:25:32 -0400 Subject: Add timeout parameter for SDC-BE pod Signed-off-by: Yang Xu Issue-ID: INT-1106 Change-Id: I09966ff3735a10342a6dd2e4a394eab95d46fb05 --- kubernetes/sdc/charts/sdc-be/templates/deployment.yaml | 2 ++ kubernetes/sdc/charts/sdc-be/values.yaml | 2 ++ 2 files changed, 4 insertions(+) (limited to 'kubernetes/sdc') diff --git a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml index 063e2d868f..0b015aa95c 100644 --- a/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml +++ b/kubernetes/sdc/charts/sdc-be/templates/deployment.yaml @@ -74,6 +74,7 @@ spec: - "/var/lib/ready-probe.sh" initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} + timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} {{ end }} readinessProbe: exec: @@ -81,6 +82,7 @@ spec: - "/var/lib/ready-probe.sh" initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} + timeoutSeconds: {{ .Values.readiness.timeoutSeconds }} resources: {{ include "common.resources" . | indent 12 }} env: diff --git a/kubernetes/sdc/charts/sdc-be/values.yaml b/kubernetes/sdc/charts/sdc-be/values.yaml index 371acbb0d4..018c379d67 100644 --- a/kubernetes/sdc/charts/sdc-be/values.yaml +++ b/kubernetes/sdc/charts/sdc-be/values.yaml @@ -50,6 +50,7 @@ affinity: {} liveness: initialDelaySeconds: 60 periodSeconds: 10 + timeoutSeconds: 5 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: true @@ -57,6 +58,7 @@ liveness: readiness: initialDelaySeconds: 60 periodSeconds: 10 + timeoutSeconds: 5 service: type: NodePort -- cgit 1.2.3-korg