apps(sirius-growth): blog Deployment/Service + pin site d44446c (journal mount)

- deployment-blog.yaml / service-blog.yaml: blog FastAPI on 8092, siriussec,
  env from sirius-growth-blog-app + sirius-growth-blog-s3,
  PUBLIC_BASE_URL=https://siriusgrowthsolutions.com/journal. No HTTPRoute: the
  site nginx proxies /journal to this ClusterIP service.
- deployment.yaml: site 4285926 -> d44446c (nginx /journal proxy, nav menu).
- portal Deployment untouched.
This commit is contained in:
Lance Walters 2026-11-05 13:07:26 -05:00
commit aa71da2f31
4 changed files with 108 additions and 1 deletions

View file

@ -0,0 +1,91 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: sirius-growth-blog
namespace: sirius-growth
spec:
replicas: 1
selector:
matchLabels:
app: sirius-growth-blog
template:
metadata:
labels:
app: sirius-growth-blog
spec:
tolerations:
- key: dedicated
operator: Exists
effect: PreferNoSchedule
nodeSelector:
kubernetes.io/hostname: siriussec
containers:
- name: blog
# Pinned by immutable tag. The blog is mounted at /journal by the
# site nginx, so it has no Service hostname of its own and no
# HTTPRoute - the marketing site proxies to this ClusterIP service.
image: forgejo.siriusdevops.com/sirius/sirius-growth-blog:d44446c87c5894de29739ee0bd25f40146148bd5
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8092
name: http
env:
- name: DATABASE_URL
valueFrom:
secretKeyRef:
name: sirius-growth-blog-app
key: database-url
- name: SESSION_SECRET
valueFrom:
secretKeyRef:
name: sirius-growth-blog-app
key: session-secret
- name: S3_ENDPOINT
valueFrom:
secretKeyRef:
name: sirius-growth-blog-s3
key: endpoint
- name: S3_BUCKET
valueFrom:
secretKeyRef:
name: sirius-growth-blog-s3
key: bucket
- name: S3_ACCESS_KEY
valueFrom:
secretKeyRef:
name: sirius-growth-blog-s3
key: access-key
- name: S3_SECRET_KEY
valueFrom:
secretKeyRef:
name: sirius-growth-blog-s3
key: secret-key
- name: S3_REGION
valueFrom:
secretKeyRef:
name: sirius-growth-blog-s3
key: region
# Every URL the service emits (canonical, RSS, sitemap, media,
# admin form actions) hangs off this; the mount is /journal.
- name: PUBLIC_BASE_URL
value: https://siriusgrowthsolutions.com/journal
- name: PORTAL_BASE_URL
value: https://siriusgrowthsolutions.com
readinessProbe:
httpGet:
path: /health
port: 8092
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /health
port: 8092
initialDelaySeconds: 20
periodSeconds: 20
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
memory: 384Mi