gitserver: Add HTTP clone port and health probes - #480
Merged
Conversation
Prepare Kubernetes deployments for the dedicated Gitserver HTTP clone listener introduced in sourcegraph/sourcegraph#15346. Declare the clone and debug ports, use the debug server readiness contract for startup and readiness, and use its health endpoint for liveness. Amp-Thread-ID: https://ampcode.com/threads/T-01a06a40-0d1b-77ba-80e6-de55136092f1 Co-authored-by: Amp <amp@ampcode.com>
eseliger
marked this pull request as ready for review
September 4, 2026 13:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Gitserver is gaining a dedicated HTTP clone listener so clone traffic can move away from the h2c gRPC port.
This declares the new
http-cloneport on 3179 and the existing debug server on 6060. It also replaces the TCP checks against the gRPC port with Gitserver's health contract: startup and readiness use/ready, while liveness uses/healthz.The headless Service remains unchanged because it provides StatefulSet pod DNS; callers connect directly to pod-qualified Gitserver addresses.
SRC_GIT_SERVERSremains on the gRPC port, 3178.