summaryrefslogtreecommitdiffstats
path: root/charts
diff options
context:
space:
mode:
authorYang Xu <yang.xu3@huawei.com>2019-02-17 16:27:14 -0500
committerYang Xu <yang.xu3@huawei.com>2019-02-17 16:28:39 -0500
commit9224dc266891fef9f33a49d9102b220cba998798 (patch)
tree49521f435a22c701a47896b6fbf9a9f8e9ef4ff9 /charts
parent4076ec032ab05f40c399271273f489702c9b3a19 (diff)
Increase initialDelay and timeout for gizmo pod
Change-Id: If9c441897103ef93b870be7b548805d9ecaceb44 Issue-ID: AAI-2139 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
Diffstat (limited to 'charts')
-rw-r--r--charts/aai-gizmo/templates/deployment.yaml2
-rw-r--r--charts/aai-gizmo/values.yaml6
2 files changed, 6 insertions, 2 deletions
diff --git a/charts/aai-gizmo/templates/deployment.yaml b/charts/aai-gizmo/templates/deployment.yaml
index ba90fdc..e01e738 100644
--- a/charts/aai-gizmo/templates/deployment.yaml
+++ b/charts/aai-gizmo/templates/deployment.yaml
@@ -52,12 +52,14 @@ spec:
tcpSocket:
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
+ timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
periodSeconds: {{ .Values.liveness.periodSeconds }}
{{ end }}
readinessProbe:
tcpSocket:
port: {{ .Values.service.internalPort }}
initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
+ timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
periodSeconds: {{ .Values.readiness.periodSeconds }}
env:
- name: CONFIG_HOME
diff --git a/charts/aai-gizmo/values.yaml b/charts/aai-gizmo/values.yaml
index 420e598..9fbe852 100644
--- a/charts/aai-gizmo/values.yaml
+++ b/charts/aai-gizmo/values.yaml
@@ -40,14 +40,16 @@ affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 10
+ initialDelaySeconds: 60
+ timeoutSeconds: 10
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: 60
+ timeoutSeconds: 10
periodSeconds: 10
service: