Skip to content

Commit

Permalink
Use health endpoint for Grafana readiness probe (istio#16634)
Browse files Browse the repository at this point in the history
Prior to this change we used the login page, which returns 25kb of data.
This will cause the probe to fail in Kubernetes 1.16+
(kubernetes/kubernetes#76518), which will limit
to 10kb.

This change mirrors the official Grafana charts readiness probe:
https://github.com/helm/charts/blob/master/stable/grafana/values.yaml#L18-L21
  • Loading branch information
howardjohn authored and istio-testing committed Aug 29, 2019
1 parent 6e3aef5 commit f1ba4e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
- containerPort: 3000
readinessProbe:
httpGet:
path: /login
path: /api/health
port: 3000
env:
- name: GRAFANA_PORT
Expand Down

0 comments on commit f1ba4e1

Please sign in to comment.