Files
infrastructure/servers/legion/k8s/fornax/ui/deployment.yaml
T
Will Anderson 27d9d9c436 fornax: fix crash-looping coordinator, add UI deployment
- Fix liveness/readiness probe paths from /api/v2/app/version (qBittorrent)
  to /health and /health/ready (Fornax Express server). Pod was restarting
  every ~30s due to probe failures against wrong endpoint.
- Add fornax-ui deployment and service for React dashboard
  (image: fornax/ui:latest, nginx on port 80)
- Split ingress: /api and /health → coordinator:3000, / → ui:80
- Update kustomization to include UI resources
2026-04-14 08:45:21 -05:00

44 lines
944 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: fornax-ui
namespace: media
labels:
app: fornax-ui
spec:
replicas: 1
selector:
matchLabels:
app: fornax-ui
template:
metadata:
labels:
app: fornax-ui
spec:
containers:
- name: ui
image: registry.neuralplatform.ai/fornax/ui:latest
imagePullPolicy: Always
ports:
- containerPort: 80
name: http
resources:
requests:
cpu: 10m
memory: 32Mi
limits:
cpu: 100m
memory: 128Mi
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 30
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 3
periodSeconds: 10