aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc/charts
diff options
context:
space:
mode:
authorYang Xu <yang.xu@futurewei.com>2019-06-16 23:25:32 -0400
committerYang Xu <yang.xu@futurewei.com>2019-06-16 23:25:38 -0400
commit8560854064a5647e3a7ba1fee39ec7cc2c94c113 (patch)
tree76572e6ea4ebeeb7d72ab793bef51d00b6e21f97 /kubernetes/sdc/charts
parentf889e6a0004b3153c8cafffc6c8489729d7d9fd3 (diff)
Add timeout parameter for SDC-BE pod
Signed-off-by: Yang Xu <yang.xu@futurewei.com> Issue-ID: INT-1106 Change-Id: I09966ff3735a10342a6dd2e4a394eab95d46fb05
Diffstat (limited to 'kubernetes/sdc/charts')
-rw-r--r--kubernetes/sdc/charts/sdc-be/templates/deployment.yaml2
-rw-r--r--kubernetes/sdc/charts/sdc-be/values.yaml2
2 files changed, 4 insertions, 0 deletions
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