diff options
author | 2018-06-07 13:22:07 +0000 | |
---|---|---|
committer | 2018-06-07 13:22:07 +0000 | |
commit | eada6051cfc6869f316e0fbe4b535da9b7e22b38 (patch) | |
tree | d39bd83c3266ba91deda2cb32a56014c35006fd5 | |
parent | 869c40b216073fc5d1eac4e3431881ac7d72606b (diff) | |
parent | 2c90cb94f861727fa8bec029d167b05a965326ef (diff) |
Merge "Fix AAF CS startup timeouts"
-rw-r--r-- | charts/aaf-cs/templates/deployment.yaml | 2 | ||||
-rw-r--r-- | charts/aaf-cs/values.yaml | 4 |
2 files changed, 3 insertions, 3 deletions
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 @@ 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/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 @@ 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: |