From 020a806d088ccf150bc60ae6a34c0a8042bd2a69 Mon Sep 17 00:00:00 2001 From: Andrew Stoltz Date: Fri, 24 Apr 2026 01:08:55 -0500 Subject: [PATCH] =?UTF-8?q?intranet:=20v202604240108gpu=20=E2=80=94=20poin?= =?UTF-8?q?t=20indexer=20at=20BLUEJAY-WS=20GPU=20+=20FilePatterns=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two-part fix on top of the live Shared.Indexing rollout: 1. Image bump v202604240050corpus -> v202604240108gpu, rebuilt from FlowerCore.Intranet.Web@feat/shared-indexing-search (HEAD includes the FilePatterns array-merge fix in IntranetSearchOptions). At runtime each DocCorpusRoot now sees ONLY the patterns explicitly set in appsettings.json — notes-md gets ["*.md"], notes-html gets ["*.html"], no accidental cross-bleed. 2. New IntranetSearch__OllamaBaseUrl env var pointing at http://10.0.56.20:11434 (BLUEJAY-WS GPU, R9700 32GB VRAM). Verified reachable from the cluster and nomic-embed-text:latest is pulled. This is the workaround for memory feedback_pi5_nomic_embed_slow: edge1 Pi 5 takes ~189s per 32-chunk batch, projecting full notes-md indexing (5665 chunks) at ~9 hours; the GPU should land it in minutes. Edge1 stays the chat default; this env var only redirects the indexer's bulk embedding calls. Image distributed to all three RKE2 nodes. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/intranet/intranet.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/intranet/intranet.yaml b/apps/intranet/intranet.yaml index 0521bc8..aff3ac9 100644 --- a/apps/intranet/intranet.yaml +++ b/apps/intranet/intranet.yaml @@ -37,7 +37,7 @@ spec: spec: containers: - name: intranet-web - image: localhost/fc-intranet-web:v202604240050corpus + image: localhost/fc-intranet-web:v202604240108gpu imagePullPolicy: Never ports: - containerPort: 5300 @@ -47,6 +47,11 @@ spec: value: Production - name: ASPNETCORE_URLS value: "http://+:5300" + # Bulk corpus indexing on edge1 Pi 5 takes ~6s/chunk × 5665 chunks + # ≈ 9 hours. BLUEJAY-WS GPU (R9700, 32GB VRAM) does the same work + # in minutes. Memory: feedback_pi5_nomic_embed_slow. + - name: IntranetSearch__OllamaBaseUrl + value: "http://10.0.56.20:11434" resources: requests: memory: "256Mi"