Fix AAF CS startup timeouts
Change-Id: I8140e6c392726e78e0a2c9b18337fa712eb9d944
Issue-ID: OOM-1128
Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
diff --git a/charts/aaf-cs/templates/deployment.yaml b/charts/aaf-cs/templates/deployment.yaml
index 4253d2f..893c5ac 100644
--- a/charts/aaf-cs/templates/deployment.yaml
+++ b/charts/aaf-cs/templates/deployment.yaml
@@ -68,7 +68,7 @@
- /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/charts/aaf-cs/values.yaml b/charts/aaf-cs/values.yaml
index 6d5ed6c..2131e85 100644
--- a/charts/aaf-cs/values.yaml
+++ b/charts/aaf-cs/values.yaml
@@ -42,14 +42,14 @@
# 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: