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

@ -30,6 +30,16 @@ spec:
ports:
- name: http
containerPort: 8080
livenessProbe:
httpGet:
path: /metrics
port: 8080
initialDelaySeconds: 10
readinessProbe:
httpGet:
path: /api/health
port: 8080
initialDelaySeconds: 10
resources:
requests:
cpu: 100m