From ae2d6e0e22093ab56f5c0fa5fb11f8cdba6be4e7 Mon Sep 17 00:00:00 2001 From: Lee Chapman Date: Fri, 31 Jul 2026 23:45:40 -0700 Subject: [PATCH] fix(grafana-mcp): use tcpSocket probes Newer mcp-grafana rejects kubelet httpGet /healthz with 403 (forbidden: host not allowed). tcpSocket avoids Host allowlist and works across old/new image digests on nodes. Co-authored-by: Cursor --- mcp-servers/grafana-mcp/deployment.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/mcp-servers/grafana-mcp/deployment.yaml b/mcp-servers/grafana-mcp/deployment.yaml index 99655c8..4be8207 100644 --- a/mcp-servers/grafana-mcp/deployment.yaml +++ b/mcp-servers/grafana-mcp/deployment.yaml @@ -68,12 +68,11 @@ spec: containerPort: 8000 protocol: TCP - # Health Checks - Grafana MCP uses /healthz endpoint + # tcpSocket avoids Host-allowlist 403 on kubelet httpGet (/healthz). + # Works for both pre- and post-DNS-rebinding mcp-grafana images. livenessProbe: - httpGet: - path: /healthz + tcpSocket: port: http - scheme: HTTP initialDelaySeconds: 10 periodSeconds: 30 timeoutSeconds: 5 @@ -81,10 +80,8 @@ spec: failureThreshold: 3 readinessProbe: - httpGet: - path: /healthz + tcpSocket: port: http - scheme: HTTP initialDelaySeconds: 5 periodSeconds: 10 timeoutSeconds: 3