add probe timeout to value.yaml 83/97083/1
authorsu622b <su622b@att.com>
Mon, 14 Oct 2019 19:37:37 +0000 (15:37 -0400)
committersunil unnava <su622b@att.com>
Mon, 14 Oct 2019 20:22:59 +0000 (20:22 +0000)
Issue-ID: DMAAP-1328
Change-Id: Ic5430d4029ab9e95edb63aac9f11b1f5b148cbb9
Signed-off-by: su622b <su622b@att.com>
kubernetes/dmaap/components/message-router/charts/message-router-kafka/templates/statefulset.yaml
kubernetes/dmaap/components/message-router/charts/message-router-kafka/values.yaml
kubernetes/dmaap/components/message-router/charts/message-router-mirrormaker/templates/deployment.yaml
kubernetes/dmaap/components/message-router/charts/message-router-mirrormaker/values.yaml
kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/templates/statefulset.yaml
kubernetes/dmaap/components/message-router/charts/message-router-zookeeper/values.yaml
kubernetes/dmaap/components/message-router/templates/statefulset.yaml
kubernetes/dmaap/components/message-router/values.yaml

index bfe4b11..3be8d5d 100644 (file)
@@ -113,12 +113,14 @@ spec:
             port: {{ .Values.service.internalPort }}
           initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
           periodSeconds: {{ .Values.liveness.periodSeconds }}
+          timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
         {{ end }}
         readinessProbe:
           tcpSocket:
             port: {{ .Values.service.internalPort }}
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
+          timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
         env:
         - name: HOST_IP
           valueFrom:
index f5a7c7e..873e72e 100644 (file)
@@ -71,6 +71,7 @@ tolerations: {}
 liveness:
   initialDelaySeconds: 60
   periodSeconds: 10
+  timeoutSeconds: 1
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
@@ -78,6 +79,7 @@ liveness:
 readiness:
   initialDelaySeconds: 60
   periodSeconds: 10
+  timeoutSeconds: 1
 
 ## Persist data to a persitent volume
 persistence:
index 51c4149..64e5133 100644 (file)
@@ -73,6 +73,7 @@ spec:
             - "rm /tmp/lprobe.txt"
           initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
           periodSeconds: {{ .Values.liveness.periodSeconds }}
+          timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
         {{ end }}
         readinessProbe:
           exec:
@@ -83,6 +84,7 @@ spec:
             - "rm /tmp/rprobe.txt"
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
+          timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
         env:
         - name: KAFKA_HEAP_OPTS
           value: "{{ .Values.kafkaHeapOptions }}"
index 2f63406..676f634 100644 (file)
@@ -56,6 +56,7 @@ affinity: {}
 liveness:
   initialDelaySeconds: 60
   periodSeconds: 20
+  timeoutSeconds: 5
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
@@ -63,6 +64,7 @@ liveness:
 readiness:
   initialDelaySeconds: 60
   periodSeconds: 20
+  timeoutSeconds: 5
 
 
 service:
index 50b047a..df17ca8 100644 (file)
@@ -86,6 +86,7 @@ spec:
             - "zookeeper-ready.sh 2181"
           initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
           periodSeconds: {{ .Values.liveness.periodSeconds }}
+          timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
         {{ end }}
         readinessProbe:
           exec:
@@ -95,6 +96,7 @@ spec:
             - "zookeeper-ready.sh 2181"
           initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
           periodSeconds: {{ .Values.readiness.periodSeconds }}
+          timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
         env:
         - name: ZK_REPLICAS
           value: "{{ .Values.replicaCount }}"
index 734736d..eeb77ba 100644 (file)
@@ -61,6 +61,7 @@ tolerations: {}
 liveness:
   initialDelaySeconds: 10
   periodSeconds: 10
+  timeoutSeconds: 1
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
@@ -68,6 +69,7 @@ liveness:
 readiness:
   initialDelaySeconds: 10
   periodSeconds: 10
+  timeoutSeconds: 1
 
 #Zookeeper properties
 zk:
index f7b51d1..f6d6721 100644 (file)
@@ -60,12 +60,14 @@ spec:
               port: {{ .Values.service.externalPort }}
             initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }}
             periodSeconds: {{ .Values.liveness.periodSeconds }}
+            timeoutSeconds: {{ .Values.liveness.timeoutSeconds }}
           {{ end -}}
           readinessProbe:
             tcpSocket:
               port: {{ .Values.service.externalPort }}
             initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }}
             periodSeconds: {{ .Values.readiness.periodSeconds }}
+            timeoutSeconds: {{ .Values.readiness.timeoutSeconds }}
           env:
           - name: enableCadi
             value: "true"
index 7561bc2..06c9669 100644 (file)
@@ -55,6 +55,7 @@ affinity: {}
 liveness:
   initialDelaySeconds: 70
   periodSeconds: 10
+  timeoutSeconds: 1
   # necessary to disable liveness probe when setting breakpoints
   # in debugger so K8s doesn't restart unresponsive container
   enabled: true
@@ -62,6 +63,7 @@ liveness:
 readiness:
   initialDelaySeconds: 70
   periodSeconds: 10
+  timeoutSeconds: 1
 
 service:
   type: NodePort