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).
This commit is contained in:
parent
6049a09c6e
commit
f290b3c457
19 changed files with 649 additions and 0 deletions
44
apps/base/osint/news-summarizer-deployment.yaml
Normal file
44
apps/base/osint/news-summarizer-deployment.yaml
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: osint-news-summarizer
|
||||
namespace: osint
|
||||
labels:
|
||||
app: osint-news-summarizer
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: osint-news-summarizer
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: osint-news-summarizer
|
||||
spec:
|
||||
tolerations:
|
||||
- key: dedicated
|
||||
operator: Exists
|
||||
effect: PreferNoSchedule
|
||||
nodeSelector:
|
||||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: news-summarizer
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-c48788d4b614
|
||||
imagePullPolicy: IfNotPresent
|
||||
# Loop: batch the last window, call Nous Portal, write summaries.
|
||||
command: ["python", "run_news_summarizer.py"]
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: osint-env
|
||||
env:
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: osint-db
|
||||
key: password
|
||||
resources:
|
||||
requests:
|
||||
cpu: 50m
|
||||
memory: 128Mi
|
||||
limits:
|
||||
memory: 512Mi
|
||||
Loading…
Reference in a new issue