Add liveness and readiness probes to Grafana

* https://github.com/grafana/grafana/issues/3302
This commit is contained in:
Dalton Hubble
2019-03-23 17:54:16 -07:00
parent 619a0370dc
commit 36e31fc9fa
3 changed files with 17 additions and 6 deletions

View File

@ -39,18 +39,18 @@ spec:
mountPath: /etc/prometheus/rules
- name: data
mountPath: /var/lib/prometheus
readinessProbe:
httpGet:
path: /-/ready
port: 9090
initialDelaySeconds: 10
timeoutSeconds: 10
livenessProbe:
httpGet:
path: /-/healthy
port: 9090
initialDelaySeconds: 10
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /-/ready
port: 9090
initialDelaySeconds: 10
timeoutSeconds: 10
terminationGracePeriodSeconds: 30
volumes:
- name: config