Add liveness and readiness probes to postgre_exporter (#7502)

Signed-off-by: Maxime Guyot <Miouge1@users.noreply.github.com>
This commit is contained in:
Maxime Guyot
2018-09-04 12:42:23 -07:00
committed by k8s-ci-robot
parent fbb9e58f8c
commit 71bc3633cd
2 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: postgresql
version: 0.17.0
version: 0.18.0
appVersion: 9.6.2
description: Object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
keywords:
@@ -138,6 +138,14 @@ spec:
mountPath: /conf
readOnly: true
{{- end }}
livenessProbe:
httpGet:
path: /metrics
port: metrics
readinessProbe:
httpGet:
path: /metrics
port: metrics
resources:
{{ toYaml .Values.metrics.resources | indent 10 }}
{{- end }}