From 829c5394ddb0677dd191df41c26ee98d6786373e Mon Sep 17 00:00:00 2001 From: Erik Seliger Date: Fri, 4 Sep 2026 03:28:06 +0000 Subject: [PATCH] searcher: use debug server readiness endpoint Amp-Thread-ID: https://ampcode.com/threads/T-01a0695f-be00-74df-9488-895b355a0c4c Co-authored-by: Amp --- base/sourcegraph/searcher/searcher.Service.yaml | 8 ++++---- base/sourcegraph/searcher/searcher.StatefulSet.yaml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/base/sourcegraph/searcher/searcher.Service.yaml b/base/sourcegraph/searcher/searcher.Service.yaml index 1487cfe0..6db1e8cb 100644 --- a/base/sourcegraph/searcher/searcher.Service.yaml +++ b/base/sourcegraph/searcher/searcher.Service.yaml @@ -13,12 +13,12 @@ metadata: spec: clusterIP: None ports: - - name: http + - name: grpc port: 3181 - targetPort: http - - name: debug + targetPort: grpc + - name: http-debug port: 6060 - targetPort: debug + targetPort: http-debug selector: app: searcher type: ClusterIP diff --git a/base/sourcegraph/searcher/searcher.StatefulSet.yaml b/base/sourcegraph/searcher/searcher.StatefulSet.yaml index 4c16d459..b857fdab 100644 --- a/base/sourcegraph/searcher/searcher.StatefulSet.yaml +++ b/base/sourcegraph/searcher/searcher.StatefulSet.yaml @@ -50,14 +50,14 @@ spec: terminationMessagePolicy: FallbackToLogsOnError ports: - containerPort: 3181 - name: http + name: grpc - containerPort: 6060 - name: debug + name: http-debug readinessProbe: failureThreshold: 3 httpGet: - path: /healthz - port: http + path: /ready + port: http-debug scheme: HTTP periodSeconds: 5 timeoutSeconds: 5