Merge "Fix AAF CS startup timeouts"
authorMike Elliott <mike.elliott@amdocs.com>
Thu, 7 Jun 2018 13:22:07 +0000 (13:22 +0000)
committerGerrit Code Review <gerrit@onap.org>
Thu, 7 Jun 2018 13:22:07 +0000 (13:22 +0000)
kubernetes/aaf/charts/aaf-cs/templates/deployment.yaml
kubernetes/aaf/charts/aaf-cs/values.yaml

index 4253d2f..893c5ac 100644 (file)
@@ -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 ;
index 6d5ed6c..2131e85 100644 (file)
@@ -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: