Commit graph

2 commits

Author SHA1 Message Date
agent-cos
e18f732f40 feat(meos-gateway): scobleclaw#24 — restructure services.yaml dashboard categories
Split the 'Infrastructure' junk drawer (8 entries) into two clear groups:
  - Operations: Uptime Kuma, Service Health, Grafana, Prometheus
  - Tools:      Vault Drop, Tickets, Style Prefs, Preview, Umami

Other changes per the proposed restructure in scobleclaw#24:
  - Renamed 'Health' -> 'Family' (single tile: Family Health)
  - Merged 'Status' into 'Operations'
  - Added Prometheus tile (k3s Service scobleclaw-monitoring/prometheus is
    healthy 1/1, ClusterIP 10.43.250.126:9090)
  - New /prometheus/ location block: subpath-friendly routing with
    proxy_redirect + sub_filter for href/src rewriting, mirroring the
    /kuma/ pattern.
  - Fixed Grafana double-routing: was pointing at the traefik-ingress
    ClusterIP 10.43.3.233:80 (which 404s in the new cluster) — now
    direct to scobleclaw-monitoring/grafana Service 10.43.150.72:3000.
  - Omitted Pool Manager (k3s pod ImagePullBackOff 5h+, no endpoints)
  - Omitted Harbor      (CrashLoopBackOff across core/db/exporter)
  - Omitted Location    (gps-share on :3993 returns 404 on every path;
    kept the /location/ proxy block as a debug surface since removing
    it requires nixos-rebuild which is currently blocked)
  - Omitted 'Spatial Office' (no service/port exists; 3987 = forgejo-mcp,
    3988 = openbrain-mcp — both internal MCP servers)

file: /etc/nixos/modules/meos-gateway.nix
  - services.yaml block (lines ~88-220) restructured to 9 categories
  - /grafana/ block (line ~461) repointed to direct Service
  - new /prometheus/ block added (subpath-friendly like /kuma/)

nixos-rebuild is currently blocked (k3s.nix + wgu.nix issues; per
scobleclaw#24 AC, that's a separate ticket). The .nix file passes
`nix-instantiate --parse`. Run `nixos-rebuild switch` once the
unblocker lands to activate the new layout on os.scoble.me.

Refs: scobleclaw#24, cycle 128, dispatched by CoS.
2026-06-08 02:41:36 -07:00
7b5ffe6b11 Initial cluster config: NixOS flake + k3s + 5 node definitions
- Multi-host flake.nix (3x N97 x86_64 + 2x RPi4 aarch64)
- Shared modules: k3s-cluster, tailscale, meos-gateway
- Node configs: n97-1 (control plane), n97-2/n97-3 (Ollama workers), rpi4-1/rpi4-2 (ARM workers)
- K8s manifests: Forgejo, Postgres (CNPG), Umami, OpenBrain, MeOS Dashboard, MCP servers
- Bootstrap and DB migration scripts
- Migration plan doc (7-day phased rollout)
2026-05-04 12:22:09 -07:00