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
This commit is contained in:
Will Anderson
2026-04-14 08:45:21 -05:00
parent bdba692db2
commit 27d9d9c436
6 changed files with 87 additions and 4 deletions
@@ -0,0 +1,43 @@
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
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: fornax-ui
namespace: media
labels:
app: fornax-ui
spec:
selector:
app: fornax-ui
ports:
- name: http
port: 80
targetPort: 80
type: ClusterIP