From 6daca0bf2d4744bdef9aa434a216a041d3b60a8f Mon Sep 17 00:00:00 2001 From: John Sell Date: Thu, 23 Apr 2026 13:49:01 -0400 Subject: [PATCH] fix(deploy): use metrics port 9090 /metrics for SpiceDB health probes 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) --- deploy/apps/kartograph/base/spicedb-deployment.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/deploy/apps/kartograph/base/spicedb-deployment.yaml b/deploy/apps/kartograph/base/spicedb-deployment.yaml index db9d49bc9..29d4d0f32 100644 --- a/deploy/apps/kartograph/base/spicedb-deployment.yaml +++ b/deploy/apps/kartograph/base/spicedb-deployment.yaml @@ -78,15 +78,17 @@ spec: mountPath: /tls readOnly: true livenessProbe: - grpc: - port: 50051 + httpGet: + path: /metrics + port: 9090 initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 3 readinessProbe: - grpc: - port: 50051 + httpGet: + path: /metrics + port: 9090 initialDelaySeconds: 5 periodSeconds: 5 timeoutSeconds: 3