mirror of
https://github.com/allaunthefox/Research-Stack.git
synced 2026-08-10 10:00:35 +00:00
Architecture alignment: - Rewrite k3s-server.nix from aspirational role=server to actual role=agent (cupfox is the real control-plane at 100.110.163.82:6443) - Update flake.nix: correct serverAddr for all nodes, annotate dead nodes, fix hostname from nixos-laptop to nixos - Update join-agent.sh default SERVER to cupfox - Document actual vs intended architecture in comments Ingress: - Add rs-apps-books Ingress for audiobookshelf (/apps/books → media ns) - Add strip-apps-books middleware for prefix stripping - Create ray-ingress.yaml for Ray dashboard at /server/ray Ray: - Fix raycluster.yaml: enable dashboard, mount /dev/dri on gpu-workers - Point gpu-workers to qfox-1 (was neon-64gb) - Remove nvidia.com/gpu resource dependency (use /dev/dri via Mesa) Security: - Move OPENID_CLIENT_SECRET from plaintext to K8s Secret ref - Update manifest to use valueFrom.secretKeyRef Cleanup: - Remove 53 committed test PNG screenshots from git tracking - Remove auth-state.json from git tracking - Add *.png, *.json to tests/.gitignore Build: no build needed
37 lines
1.6 KiB
YAML
37 lines
1.6 KiB
YAML
# ═══════════════════════════════════════════════════════════════════════════
|
|
# Traefik Ingress — Ray Dashboard
|
|
# ═══════════════════════════════════════════════════════════════════════════
|
|
# The Ray head service lives in ray-system namespace. Both the Ingress and
|
|
# service are in the same namespace so a standard Ingress works.
|
|
#
|
|
# URL: https://researchstack.info/server/ray → raycluster-head-svc:8265
|
|
# Uses stripPrefix middleware so the dashboard doesn't need to know about
|
|
# the /server/ray prefix.
|
|
# ═══════════════════════════════════════════════════════════════════════════
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: Middleware
|
|
metadata:
|
|
name: strip-server-ray
|
|
namespace: ray-system
|
|
spec:
|
|
stripPrefix:
|
|
prefixes:
|
|
- /server/ray
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: ray-dashboard
|
|
namespace: ray-system
|
|
spec:
|
|
entryPoints:
|
|
- web
|
|
routes:
|
|
- match: Host(`researchstack.info`) && PathPrefix(`/server/ray`)
|
|
kind: Rule
|
|
middlewares:
|
|
- name: strip-server-ray
|
|
namespace: ray-system
|
|
services:
|
|
- name: raycluster-head-svc
|
|
port: 8265
|