diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-12-13 22:14:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-12-13 22:14:18 +0000 |
commit | 4e37cb99263a4722f2e9552d4fa078995bb5c452 (patch) | |
tree | 4d3407b8d15d5b06b70bfd0dd8779ad71fed22d5 /kubernetes/dmaap/components/message-router/templates/statefulset.yaml | |
parent | d01bed83430f9baaddf5bc9c05eb2ca87f1e285b (diff) | |
parent | 13d1f2ae242cfc445d0c96e9ac4c3b8c8bbe27fd (diff) |
Merge "[DMAAP][MR] Use startup probes" into istanbul
Diffstat (limited to 'kubernetes/dmaap/components/message-router/templates/statefulset.yaml')
-rw-r--r-- | kubernetes/dmaap/components/message-router/templates/statefulset.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml index 9bad341792..f0832add80 100644 --- a/kubernetes/dmaap/components/message-router/templates/statefulset.yaml +++ b/kubernetes/dmaap/components/message-router/templates/statefulset.yaml @@ -103,13 +103,25 @@ spec: initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} timeoutSeconds: {{ .Values.liveness.timeoutSeconds }} - {{ end -}} + successThreshold: {{ .Values.liveness.successThreshold }} + failureThreshold: {{ .Values.liveness.failureThreshold }} + {{ end }} readinessProbe: tcpSocket: port: {{ .Values.readiness.port }} initialDelaySeconds: {{ .Values.readiness.initialDelaySeconds }} periodSeconds: {{ .Values.readiness.periodSeconds }} timeoutSeconds: {{ .Values.readiness.timeoutSeconds }} + successThreshold: {{ .Values.readiness.successThreshold }} + failureThreshold: {{ .Values.readiness.failureThreshold }} + startupProbe: + tcpSocket: + port: {{ .Values.startup.port }} + initialDelaySeconds: {{ .Values.startup.initialDelaySeconds }} + periodSeconds: {{ .Values.startup.periodSeconds }} + timeoutSeconds: {{ .Values.startup.timeoutSeconds }} + successThreshold: {{ .Values.startup.successThreshold }} + failureThreshold: {{ .Values.startup.failureThreshold }} env: - name: enableCadi value: "{{ .Values.global.aafEnabled }}" |