Skip to content

fix(grafana-mcp): tcpSocket probes for Host allowlist - #10

Merged
surrealwolf merged 1 commit into
mainfrom
fix/grafana-mcp-probe-host-allowlist
Aug 1, 2026
Merged

surrealwolf merged 1 commit into
mainfrom
fix/grafana-mcp-probe-host-allowlist

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

Summary

  • Switch grafana-mcp liveness/readiness from httpGet /healthz to tcpSocket on port http.
  • Newer mcp-grafana images enforce Host allowlisting (DNS-rebinding protection) and return 403 forbidden: host not allowed for kubelet probes that use the pod IP as Host.

Test plan

  • Live prd-apps patched to tcpSocket → deploy 3/3 Ready
  • After merge, Fleet sync of gitops-mcp-prd-apps keeps probes as tcpSocket (no CrashLoop)
  • Confirm grafana-mcp.dataknife.net still serves

Made with Cursor

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 <cursoragent@cursor.com>
@surrealwolf
surrealwolf merged commit a00864a into main Aug 1, 2026
3 checks passed
@surrealwolf
surrealwolf deleted the fix/grafana-mcp-probe-host-allowlist branch August 1, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant