mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus] add livenessProbe and readinessProbe (#3042)
Use /-/healthy for livenessProbe and /-/ready for readinessProbe Fix #3000
This commit is contained in:
committed by
k8s-ci-robot
parent
a8e277fa17
commit
ff8141a96d
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user