homek8s/apps/base/osint/news-summarizer-deployment.yaml
Lance Walters a9d3a4eb33 apps(osint): summarizer d04ddc9afacb — syndication dedupe before selection
PR #55 collapses normalised-title duplicates (7 Hearst stations carrying one
wire story) to the best-scoring representative before min_score/top_n, stores
duplicates with selected=false + duplicate_of, and exposes SUMMARY_DEDUPE /
SUMMARY_DEDUPE_SIMILARITY (0.85).
2026-11-13 22:16:50 -05:00

44 lines
1.1 KiB
YAML

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-d04ddc9afacb
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