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:37 -05:00
|
|
|
apiVersion: apps/v1
|
|
|
|
|
kind: Deployment
|
|
|
|
|
metadata:
|
|
|
|
|
name: osint-nats
|
|
|
|
|
namespace: osint
|
|
|
|
|
labels:
|
|
|
|
|
app: osint-nats
|
|
|
|
|
spec:
|
|
|
|
|
replicas: 1
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
app: osint-nats
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
labels:
|
|
|
|
|
app: osint-nats
|
|
|
|
|
spec:
|
registry(auth): require auth for image pulls (audit F11)
Forgejo 16 mints an anonymous ("ghost user") registry token on /v2/token and
grants it Read on every package regardless of repo visibility, so all 18 app
images were world-downloadable — including images of private repos
(siriusdevops-site, phs-site, sirius-growth-*, sgs-leadgen).
* FORGEJO__service__REQUIRE_SIGNIN_VIEW=true: /v2/token answers UNAUTHORIZED
to anonymous clients, anonymous manifests get 401. This is the documented
switch in routers/api/packages/container (Authenticate) and
services/context/package.go (determineAccessMode). Side effect: the Forgejo
web UI/API becomes login-only for anonymous visitors.
* imagePullSecrets: [forgejo-pull] on all 18 workloads that pull from the
registry (osint, piedmont, sirius-growth, siriusdevops). The
kubernetes.io/dockerconfigjson Secret is per-namespace and out of band
(never in git); docs/registry-pull-auth.md documents why, how to recreate
it, and the verification commands. No containerd-level credential.
2026-11-27 00:15:20 -05:00
|
|
|
imagePullSecrets:
|
|
|
|
|
- name: forgejo-pull
|
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:37 -05:00
|
|
|
tolerations:
|
|
|
|
|
- key: dedicated
|
|
|
|
|
operator: Exists
|
|
|
|
|
effect: PreferNoSchedule
|
2026-11-21 16:24:16 -05:00
|
|
|
affinity:
|
|
|
|
|
nodeAffinity:
|
|
|
|
|
# Prefer the amd64 worker (linode) for these stateless CPU loops so
|
|
|
|
|
# they stop drawing on the 15 W-powered ThinkPad. Preferred, not
|
|
|
|
|
# required: if linode is absent they still schedule on siriussec.
|
|
|
|
|
preferredDuringSchedulingIgnoredDuringExecution:
|
|
|
|
|
- weight: 100
|
|
|
|
|
preference:
|
|
|
|
|
matchExpressions:
|
|
|
|
|
- key: kubernetes.io/hostname
|
|
|
|
|
operator: In
|
|
|
|
|
values:
|
|
|
|
|
- linode
|
|
|
|
|
# keeps these off the arm64 rpi (some of these images are amd64-only)
|
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:37 -05:00
|
|
|
nodeSelector:
|
2026-11-21 16:24:16 -05:00
|
|
|
kubernetes.io/arch: amd64
|
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:37 -05:00
|
|
|
containers:
|
|
|
|
|
- name: nats
|
|
|
|
|
image: forgejo.siriusdevops.com/sirius/nats:2.10
|
|
|
|
|
imagePullPolicy: IfNotPresent
|
2026-11-13 20:20:09 -05:00
|
|
|
args: ["-js", "-m", "8222", "-sd", "/data"]
|
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:37 -05:00
|
|
|
ports:
|
|
|
|
|
- containerPort: 4222
|
|
|
|
|
name: client
|
|
|
|
|
- containerPort: 8222
|
|
|
|
|
name: monitor
|
|
|
|
|
volumeMounts:
|
|
|
|
|
- name: data
|
|
|
|
|
mountPath: /data
|
|
|
|
|
readinessProbe:
|
|
|
|
|
httpGet:
|
|
|
|
|
path: /healthz
|
|
|
|
|
port: 8222
|
|
|
|
|
initialDelaySeconds: 5
|
|
|
|
|
periodSeconds: 10
|
|
|
|
|
resources:
|
|
|
|
|
requests:
|
|
|
|
|
cpu: 50m
|
|
|
|
|
memory: 64Mi
|
|
|
|
|
limits:
|
|
|
|
|
memory: 256Mi
|
|
|
|
|
volumes:
|
|
|
|
|
# JetStream is a transient bus here (compose had no volume either):
|
|
|
|
|
# events are written to Postgres by the consumer loop.
|
|
|
|
|
- name: data
|
|
|
|
|
emptyDir: {}
|