From fd056368a1a906b1891bb4ed183458511528cc65 Mon Sep 17 00:00:00 2001 From: kappa Date: Sat, 7 Feb 2026 22:26:30 +0900 Subject: [PATCH] fix: Use tcpSocket probe instead of httpGet for MCP endpoint MCP streamable-http transport returns 406 on GET requests. Switch to tcpSocket probe for readiness/liveness checks. Co-Authored-By: Claude Opus 4.6 --- k8s/deployment.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 72abb16..e54d52e 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -35,14 +35,12 @@ spec: - name: LOG_LEVEL value: "INFO" readinessProbe: - httpGet: - path: /mcp + tcpSocket: port: 8000 initialDelaySeconds: 5 periodSeconds: 10 livenessProbe: - httpGet: - path: /mcp + tcpSocket: port: 8000 initialDelaySeconds: 10 periodSeconds: 30