Repository navigation
perf(roadmap): intake's embeddings are cached in a password-protected Valkey in the cluster - #2578
Merged
Merged
Conversation
Owner
Author
|
Test evidence:
Pending a person:
|
… Valkey in the cluster Each round of the roadmap Service and each cluster job is a new process, so intake embedded every item of the roadmap again on each run: the devops ConfigMap named no Valkey, and `valkey.url` fell back to a localhost address that no pod serves. - `k8s/llm/valkey-devops.yaml`: a new Valkey for devops-cli's caches in the cluster (the embeddings and the threat-intelligence reads). It requires the password of Secret `llm/valkey-devops-auth`, keeps at most 96 MiB under a 128Mi limit, writes no RDB or AOF, and evicts the least recently used key at the bound. Its policy admits namespace `devops` on 6379 and `monitoring` on 9121, with no egress. - The shared cache Valkey runs with noeviction for Open WebUI's state, so it can't hold a cache that must evict. - The devops ConfigMap sets `valkey.url` to the new Valkey, and `devops-default-perimeter` lets namespace `devops` reach `llm` on 6379. - Secret `devops/devops-cli` carries `DEVOPS_CLI_VALKEY_PASSWORD`, the variable of `valkey.password`, from the keyring-only entry `valkey_devops_password` that `llm/valkey-devops-auth` uses too. - deploy-stack applies the manifest, the Argo CD project ignores the pushed Secret, and `k8s/README.md` describes both.
…reads no password in it, and pin the Secret's source by value
dan-petty
force-pushed
the
perf/1655-intake-embedding-valkey
branch
from
October 29, 2026 00:59
9d0617c to
026d233
Compare
dan-petty
marked this pull request as ready for review
October 29, 2026 01:07
dan-petty
pushed a commit
that referenced
this pull request
Oct 29, 2026
🤖 I have created a release *beep* *boop* --- ## [0.13.0](v0.12.0...v0.13.0) (2026-10-29) ### Features * **gh:** devops gh issues close records the close reason and a comment ([#2575](#2575)) ([97ed0ea](97ed0ea)), closes [#1658](#1658) * **monitoring:** the ai spend dashboard counts gateway traffic from the gateway's own series, shows failed attempts and names each caller ([#2584](#2584)) ([33491ca](33491ca)) * **roadmap:** refine writes each criterion as an OpenSpec requirement ([#2591](#2591)) ([d9a869f](d9a869f)) * **sandbox:** sandbox commands take a seccomp profile file ([#2588](#2588)) ([46958d4](46958d4)) ### Bug Fixes * **monitoring:** RoadmapServiceGitHubWritesHigh counts a request with no method label as a write, so it fired on 341 reads ([#2583](#2583)) ([6dc3aa7](6dc3aa7)), closes [#2574](#2574) ### Performance Improvements * **ci:** the gate writes no coverage XML, and the clean-up keeps the combined data ([#2582](#2582)) ([ae9ebb2](ae9ebb2)), closes [#1743](#1743) * **roadmap:** intake's embeddings are cached in a password-protected Valkey in the cluster ([#2578](#2578)) ([bfe8a0c](bfe8a0c)) ### Code Refactoring * **devcontainer:** remove the DEVOPS_CLI_SKIP_TOOL_BOOTSTRAP test switch from product code ([#2580](#2580)) ([7e7272e](7e7272e)) * **lint:** lazy exports import names under TYPE_CHECKING ([#2590](#2590)) ([c96dbfe](c96dbfe)), closes [#2010](#2010) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
Each round of the roadmap Service and each cluster job is a new process, so intake embedded every item of the roadmap again on each run. The embedder already has a Valkey tier, but the devops ConfigMap named no Valkey, so
valkey.urlfell back to a localhost address that no pod serves.k8s/llm/valkey-devops.yamladds devops-cli's cache Valkey in namespacellm. It holds the caches thatvalkey.urlfeeds in a pod: the embeddings thatEmbeddingsEnginewrites and the threat-intelligence reads.llm/valkey-devops-auth.valkey-devops-perimeteradmits namespacedevopson 6379 andmonitoringon 9121, with no egress.valkey.urltovalkey://valkey-devops.llm.svc.cluster.local:6379/0and holds no password.devops-default-perimeterlets namespacedevopsreachllmon 6379 beside the gateway's 4000, andllm-default-perimeterleaves the new pods out.llm/valkey-devops-authand the keyDEVOPS_CLI_VALKEY_PASSWORDofdevops/devops-cli, the variable ofvalkey.password. Both take the keyring-only entryvalkey_devops_password; the devops key adopts the live value ofllm/valkey-devops-auth, and either entry generates 64 hex on a first push.valkey-devops-authas an orphan, andk8s/README.mdlists the Valkey, its perimeter, its bound and its two Secret rows.Closes #1655
Change:
openspec/changes/archive/2026-10-29-1655-intake-embedding-valkey/