Repository navigation
Conversation
indexedSearch.continuity.enabled replaces the zoekt-webserver and zoekt-indexserver containers with one continuity webserver per indexed-search pod, adds an indexer Deployment that publishes shards through object storage, and passes the continuity settings to frontend, worker, searcher, and gitserver. Off by default; disabled renders are unchanged. Amp-Thread-ID: https://ampcode.com/threads/T-597f342f-9754-47be-8f3e-3c5ffc344e41
This branch has not been deployed
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.
Adds opt-in indexed search continuity to the chart behind
indexedSearch.continuity.enabled, which defaults tofalse. With it off,helm templaterenders byte-identical manifests tomain.Continuity is a new indexed search architecture being prototyped in sourcegraph/sourcegraph: stateless indexers publish each repository's shards to object storage, webservers download them and activate new versions only once enough replicas have them, and the frontend searches each repository on exactly one ready replica. This chart change is a draft: the continuity images (
zoekt-continuity-webserver,zoekt-continuity-indexer) aren't released yet.What enabling it changes
indexed-searchStatefulSet: onezoekt-continuity-webservercontainer per pod (gRPC 6070, metrics 6060) replaceszoekt-webserverandzoekt-indexserver. ReadinessGET /ready, livenessGET /healthz. Keeps the PVC and rolling updates;OrderedReadyand a 60 s termination grace period.indexed-search-indexerDeployment (2 replicas, emptyDir scratch) plus a headless metrics Service so Prometheus scrapes it. The oldindexed-search-indexerService for the indexserver isn't rendered.indexed-searchService: Prometheus scrapes port 6060 instead of 6070.SRC_INDEXED_SEARCH_CONTINUITY_ENABLED,_REPLICAS,_ACTIVATION_TOLERANCE,_REPLICATION_FACTORS, plusindexedSearch.continuity.env.replicasmust not exceedindexedSearch.replicaCount; termination grace period at least 30 s.New values are under
indexedSearch.continuity(README regenerated).Test plan
helm unittest .: 43 suites, 269 tests pass, includingtests/indexedSearchContinuity_test.yaml(layout on and off, env, scrape ports, validation).helm lintpasses;helm templatewith continuity off is identical tomain.