summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap/components/message-router/values.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-06 11:33:11 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-06 11:33:11 +0100
commit8fade99d8fefc0c8d09a6e3df74fe68c70a07458 (patch)
tree0a117213fb848b4f4934199f4bd1165bd9a7d84c /kubernetes/dmaap/components/message-router/values.yaml
parent78a9a4c9aa06ade02f382ba55b7218d7e574f747 (diff)
[DMAAP][MR] Use startup probes
Instead of using long intial delay for readiness and liveness probes, use startup Probes with aggressive checks in order to detect start as fast as possible AND handles slow start cases. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icb19ef62a4a8c52ac8800aa1dd4b71e350a6eeca
Diffstat (limited to 'kubernetes/dmaap/components/message-router/values.yaml')
-rw-r--r--kubernetes/dmaap/components/message-router/values.yaml16
1 files changed, 14 insertions, 2 deletions
diff --git a/kubernetes/dmaap/components/message-router/values.yaml b/kubernetes/dmaap/components/message-router/values.yaml
index 44697d7c92..7aa31769f4 100644
--- a/kubernetes/dmaap/components/message-router/values.yaml
+++ b/kubernetes/dmaap/components/message-router/values.yaml
@@ -85,18 +85,30 @@ affinity: {}
# probe configuration parameters
liveness:
- initialDelaySeconds: 70
+ initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
+ successThreshold: 1
+ failureThreshold: 3
# necessary to disable liveness probe when setting breakpoints
# in debugger so K8s doesn't restart unresponsive container
port: api
enabled: true
readiness:
- initialDelaySeconds: 70
+ initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 1
+ successThreshold: 1
+ failureThreshold: 3
+ port: api
+
+startup:
+ initialDelaySeconds: 10
+ periodSeconds: 10
+ timeoutSeconds: 1
+ successThreshold: 1
+ failureThreshold: 70
port: api
service: