[stable/prometheus] add livenessProbe and readinessProbe (#3042)

Use /-/healthy for livenessProbe and /-/ready for readinessProbe
Fix #3000
This commit is contained in:
Thuan Duong
2018-01-24 00:33:31 -08:00
committed by k8s-ci-robot
parent a8e277fa17
commit ff8141a96d
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: prometheus
version: 5.0.0
version: 5.0.1
description: Prometheus is a monitoring system and time series database.
home: https://prometheus.io/
icon: https://raw.githubusercontent.com/prometheus/prometheus.github.io/master/assets/prometheus_logo-cb55bb5c346.png
@@ -71,7 +71,13 @@ spec:
- containerPort: 9090
readinessProbe:
httpGet:
path: {{ .Values.server.prefixURL }}/status
path: /-/ready
port: 9090
initialDelaySeconds: 30
timeoutSeconds: 30
livenessProbe:
httpGet:
path: /-/healthy
port: 9090
initialDelaySeconds: 30
timeoutSeconds: 30