fix(deploy): use /metrics path for SpiceDB health probes#438
Conversation
Verified locally: /metrics returns HTTP 200 on plaintext port 9090. gRPC probes on 50051 time out due to TLS handshake. HTTP gateway on 8443 returns 404 on root path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Cache: Disabled due to data retention organization setting Knowledge base: Disabled due to WalkthroughModified the health check configuration for the spicedb container in the Kubernetes deployment manifest. Replaced gRPC-based probes that targeted port 50051 with HTTP-based probes that perform GET requests to the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…#438) Verified locally: /metrics returns HTTP 200 on plaintext port 9090. gRPC probes on 50051 time out due to TLS handshake. HTTP gateway on 8443 returns 404 on root path. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…#438) Verified locally: /metrics returns HTTP 200 on plaintext port 9090. gRPC probes on 50051 time out due to TLS handshake. HTTP gateway on 8443 returns 404 on root path. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
The previous probe change (#436) used
path: /on port 9090 which returns 404. SpiceDB's metrics endpoint is at/metrics.Verified locally:
curl http://localhost:9091/metricsreturns HTTP 200 on plaintext port 9090 even with gRPC TLS enabled.🤖 Generated with Claude Code
Summary by CodeRabbit