Commit graph homek8s/apps/base/osint/ingester-deployment.yaml
Author SHA1 Message Date
Lance Walters
0e5ba18377 apps(osint): pin ingester to amd64-76035535bcb2 (GDELT 15-min GKG bulk ingest) 2026-11-21 18:39:28 -05:00
Lance Walters
1e9253c147 apps(osint): pin ingester to amd64-fc0cd41b7aa4 (GDELT 429 backoff)
osint-dashboard#69: drop the pointless https->http retry on 429, add a
doubling backoff (300s -> 1800s, Retry-After honoured) and log one line
per cycle instead of a traceback. Ingester only; app/camera keep their tags.
2026-11-21 18:15:51 -05:00
devops
b55ec826c9 apps(osint): place stateless CPU workers on the amd64 linode node
news-scraper, news-summarizer, ingester and nats were hard-pinned to
siriussec (the ThinkPad, on a 15 W USB-C supply that brownouts under load).
Replace the hostname pin with:
  * nodeSelector kubernetes.io/arch=amd64  (keeps them off the arm64 rpi)
  * preferred nodeAffinity weight 100 for kubernetes.io/hostname=linode
still falling back to siriussec if linode is down. No PVCs, images,
resources or taints touched.
2026-11-21 16:24:16 -05:00
devops
24785a54e8 apps(osint): pin amd64-915f6cbe25be (critical-news renderer fix + Blue Marble default + slower ticker) 2026-11-19 23:48:48 -05:00
Lance Walters
1b27ad1120 apps(osint): pin amd64-fe2b5df369d0 (per-article news blips: geolocation API + map layer) 2026-11-19 22:59:37 -05:00
Lance Walters
ff1dc24b93 apps(osint): 58f71f5b4520 — future-dated items dropped at ingest, hidden in /api/news
PR #52: the Scrapy pipeline drops items dated >2h ahead (event listings were
pinning ORDER BY timestamp DESC), and /api/news excludes rows where
timestamp > now() as a second guard. Rebuild app + scraper at the merge sha.
2026-11-13 21:43:58 -05:00
Lance Walters
def2556ee7 apps(osint): ADMIN_COOKIE_SECURE=1 and the 84ea0a17b1af build
osint-dashboard master 84ea0a17b1af (PR #51) makes the session cookie Secure
when ADMIN_COOKIE_SECURE is truthy, because the tunnel's HTTP origin means
Envoy never lets X-Forwarded-Proto through as https. Set the flag in the
ConfigMap and pin the three app-image consumers to the rebuilt catalyst.
2026-11-13 21:17:28 -05:00
Lance Walters
5b9d179239 apps(osint): correct the auth image tag
The first pin (:amd64-d8113b37b8ac) was built from a stale working tree — the
local checkout sits on fix/dashboard-geofence-vessels-sentinel-news, not
origin/master, so the image carried no app/auth.py and the deployed HUD still
served /api/keys open with /login 404. Rebuilt from a detached worktree at
d8113b37b8ac (:amd64-d8113b37b8ac-r1, verified /app/app/auth.py exists in the
image) and repin the three consumers.
2026-11-13 21:09:38 -05:00
Lance Walters
426fc24d66 apps(osint): pin the auth build and wire the single-admin Secret
osint-dashboard master d8113b37b8ac adds app/auth.py: deny-by-default on
/api/* with a public read allowlist, so visitors get the map + news and only
the admin gets keys/settings/mutations. Pin the amd64 image (:amd64-d8113b37b8ac)
on app, camera-service and ingester, and feed ADMIN_USER /
ADMIN_PASSWORD_HASH / ADMIN_SESSION_SECRET from Secret osint-admin.

The refs are optional: true on purpose — a missing Secret must not stop the
pod; the app then fails closed (admin routes 403) while the public HUD serves.
2026-11-13 21:06:43 -05:00
Lance Walters
f290b3c457 apps(osint): deploy OSINT dashboard stack to k8s at osint.siriusdevops.com
New namespace `osint` with the full dashboard stack ported from the Pi docker
compose file: TimescaleDB+PostGIS Postgres, NATS JetStream, FastAPI app,
ingester, camera-discovery service, TiTiler tile proxy, and the vendored news
pipeline (Scrapy scraper + Nous Portal summarizer).

- Images built amd64 (the Pi CI only builds arm64) and pushed to the Forgejo
  registry as :amd64-c48788d4b614; nats/titiler mirrored there too so every
  pod pulls from one host.
- All workloads pinned to siriussec (Gateway/Envoy co-location, local-path PVs).
- Postgres is a Deployment+PVC, not CNPG: the alembic chain needs postgis +
  timescaledb extensions and create_hypertable().
- HTTPRoute osint.siriusdevops.com: /titiler prefix-stripped to TiTiler,
  everything else to the app (incl. /ws/live).
- DB password is Secret osint-db, created out of band (not in git).
- Analyst model = meituan/longcat-2.5:free on Nous Portal (free tier).
2026-11-13 20:14:42 -05:00