diff options
author | 2019-10-27 13:27:03 +0000 | |
---|---|---|
committer | 2019-10-27 13:27:03 +0000 | |
commit | 8829b4f35c6efd700b31022e6771ceeae3e41039 (patch) | |
tree | f11397c387a00a8e1c59eb650a66a8db61223580 /kubernetes/cds/charts/cds-command-executor | |
parent | 15dd9092b150ff94a26f7041f1f5745d257f77e1 (diff) | |
parent | 3a6211841fdf46269886e18802b29e302359382e (diff) |
Merge "Increase liveness/readiness probe timeouts."
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 |