Increase liveness/readiness probe timeouts. 17/96817/3
authorOleg Mitsura <oleg.mitsura@amdocs.com>
Wed, 9 Oct 2019 16:40:11 +0000 (12:40 -0400)
committerBorislav Glozman <Borislav.Glozman@amdocs.com>
Sun, 27 Oct 2019 13:26:17 +0000 (13:26 +0000)
Issue-ID: CCSDK-1822

Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
Change-Id: Ib75741d85cfe8d0d5129dac6d11d0a3468627320

kubernetes/cds/charts/cds-blueprints-processor/templates/deployment.yaml
kubernetes/cds/charts/cds-blueprints-processor/values.yaml
kubernetes/cds/charts/cds-command-executor/templates/deployment.yaml
kubernetes/cds/charts/cds-command-executor/values.yaml
kubernetes/cds/values.yaml

index 6cfc933..c2b9f9d 100755 (executable)
@@ -71,6 +71,7 @@ spec:
                 value: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
+            timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
           {{ end }}
           readinessProbe:
             httpGet:
@@ -81,6 +82,7 @@ spec:
                 value: Basic Y2NzZGthcHBzOmNjc2RrYXBwcw==
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
+            timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
           volumeMounts:
           - mountPath: /etc/localtime
             name: localtime
index cb6d191..96fc70c 100755 (executable)
@@ -62,7 +62,8 @@ dmaapEnabled: true
 # probe configuration parameters
 liveness:
   initialDelaySeconds: 120
-  periodSeconds: 10
+  periodSeconds: 20
+  timeoutSeconds: 20
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
@@ -70,6 +71,7 @@ liveness:
 readiness:
   initialDelaySeconds: 120
   periodSeconds: 10
+  timeoutSeconds: 20
 
 service:
   http:
index 659eddb..1737290 100755 (executable)
@@ -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
index 4698646..5bc0381 100755 (executable)
@@ -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
index a0dc0e8..fec8789 100644 (file)
@@ -50,8 +50,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