From f1ba4e1703fb2db806acf5ac9d154fcb983a4515 Mon Sep 17 00:00:00 2001 From: John Howard Date: Thu, 29 Aug 2019 01:50:30 -0700 Subject: [PATCH] Use health endpoint for Grafana readiness probe (#16634) 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+ (https://github.com/kubernetes/kubernetes/pull/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 --- .../helm/istio/charts/grafana/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kubernetes/helm/istio/charts/grafana/templates/deployment.yaml b/install/kubernetes/helm/istio/charts/grafana/templates/deployment.yaml index 9c83ca825148..ba3037e0498e 100644 --- a/install/kubernetes/helm/istio/charts/grafana/templates/deployment.yaml +++ b/install/kubernetes/helm/istio/charts/grafana/templates/deployment.yaml @@ -44,7 +44,7 @@ spec: - containerPort: 3000 readinessProbe: httpGet: - path: /login + path: /api/health port: 3000 env: - name: GRAFANA_PORT