diff options
author | Oleg Mitsura <oleg.mitsura@amdocs.com> | 2019-10-09 12:40:11 -0400 |
---|---|---|
committer | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2019-10-27 13:26:17 +0000 |
commit | 3a6211841fdf46269886e18802b29e302359382e (patch) | |
tree | a528ea5452eace74c7f1e880ea42bc5676da0000 /kubernetes/cds/charts/cds-command-executor | |
parent | 55b95ec89e68c41614730a61b491967bdcbf7ffe (diff) |
Increase liveness/readiness probe timeouts.
Issue-ID: CCSDK-1822
Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Ib75741d85cfe8d0d5129dac6d11d0a3468627320
Diffstat (limited to 'kubernetes/cds/charts/cds-command-executor')
-rwxr-xr-x | kubernetes/cds/charts/cds-command-executor/templates/deployment.yaml | 2 | ||||
-rwxr-xr-x | kubernetes/cds/charts/cds-command-executor/values.yaml | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/kubernetes/cds/charts/cds-command-executor/templates/deployment.yaml b/kubernetes/cds/charts/cds-command-executor/templates/deployment.yaml index 659eddbaef..1737290090 100755 --- a/kubernetes/cds/charts/cds-command-executor/templates/deployment.yaml +++ b/kubernetes/cds/charts/cds-command-executor/templates/deployment.yaml @@ -57,12 +57,14 @@ spec: port: {{ .Values.service.grpc.internalPort }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} + timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} {{ end }} readinessProbe: tcpSocket: port: {{ .Values.service.grpc.internalPort }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} + timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} volumeMounts: - mountPath: /etc/localtime name: localtime diff --git a/kubernetes/cds/charts/cds-command-executor/values.yaml b/kubernetes/cds/charts/cds-command-executor/values.yaml index 469864629d..5bc0381da2 100755 --- a/kubernetes/cds/charts/cds-command-executor/values.yaml +++ b/kubernetes/cds/charts/cds-command-executor/values.yaml @@ -56,8 +56,9 @@ affinity: {} # probe configuration parameters liveness: - initialDelaySeconds: 10 - periodSeconds: 10 + initialDelaySeconds: 20 + periodSeconds: 20 + timeoutSeconds: 20 # necessary to disable liveness probe when setting breakpoints # in debugger so K8s doesn't restart unresponsive container enabled: true @@ -65,6 +66,7 @@ liveness: readiness: initialDelaySeconds: 10 periodSeconds: 10 + timeoutSeconds: 20 service: type: ClusterIP |