From 0b0a3d678e5a5591d1198b82f1f1c6e7f17efb7b Mon Sep 17 00:00:00 2001 From: BorislavG Date: Thu, 7 Jun 2018 08:34:52 +0000 Subject: Fix AAF CS startup timeouts Change-Id: I8140e6c392726e78e0a2c9b18337fa712eb9d944 Issue-ID: OOM-1128 Signed-off-by: BorislavG --- kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml | 2 +- kubernetes/aaf/charts/aaf-cs/values.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'kubernetes/aaf/charts/aaf-cs') diff --git a/kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml b/kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml index 4253d2fb71..893c5acbde 100644 --- a/kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml +++ b/kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml @@ -68,7 +68,7 @@ spec: - /bin/sh - -c - > - /bin/sleep 30; + /bin/sleep {{ .Values.readiness.initialDelaySeconds }}; cd /data/; cqlsh -u root -p root -f keyspace.cql ; cqlsh -u root -p root -f init.cql ; diff --git a/kubernetes/aaf/charts/aaf-cs/values.yaml b/kubernetes/aaf/charts/aaf-cs/values.yaml index 6d5ed6c2ad..2131e851ad 100644 --- a/kubernetes/aaf/charts/aaf-cs/values.yaml +++ b/kubernetes/aaf/charts/aaf-cs/values.yaml @@ -42,14 +42,14 @@ affinity: {} # probe configuration parameters liveness: - initialDelaySeconds: 10 + initialDelaySeconds: 180 periodSeconds: 10 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: true readiness: - initialDelaySeconds: 10 + initialDelaySeconds: 180 periodSeconds: 10 service: -- cgit 1.2.3-korg