diff --git a/k8s/pragent-dashboard.yaml b/k8s/pragent-dashboard.yaml index c0075cc..d03183b 100644 --- a/k8s/pragent-dashboard.yaml +++ b/k8s/pragent-dashboard.yaml @@ -112,6 +112,7 @@ spec: - name: http port: 80 targetPort: http + nodePort: 31540 type: NodePort - # 30082 — between pages-proxy (30081) and browserless (30100), outside the - # 30096..30969 media range. Tailscale / LAN only until a Caddy route is set. \ No newline at end of file + # 31540 — auto-allocated at first apply (30082 was already taken by + # habitsnow/habitsnow-proxy). Tailscale / LAN only until a Caddy route is set. \ No newline at end of file diff --git a/pilot/README-dashboard.md b/pilot/README-dashboard.md index a4d236f..1048688 100644 --- a/pilot/README-dashboard.md +++ b/pilot/README-dashboard.md @@ -13,7 +13,7 @@ and the dashboard is just `python3 -m pilot.dashboard`. Browser (tailnet) │ ▼ -NodePort :30082 on 100.74.17.70 (kubernets) +NodePort :31540 on 100.74.17.70 (kubernets) │ ▼ Service pragent-dashboard.pragent.svc.cluster.local (NodePort, ns pragent) @@ -160,7 +160,7 @@ K8s manifest at `~/k8s/pragent-dashboard.yaml`. Key fields: - `resources.requests: {cpu: 100m, memory: 256Mi}` / `limits: {cpu: 500m, memory: 512Mi}` — read-heavy + tiny writes, no opencode subprocess fan-out, much smaller than the webhook. -- `Service.type: NodePort`, `nodePort: 30082` — between pages-proxy +- `Service.type: NodePort`, `nodePort: 31540` — between pages-proxy (30081) and browserless (30100), outside the 30096..30969 media range. ## Smoke test @@ -178,17 +178,17 @@ kill %1 # 2. NodePort (host-side, Tailscale IP — only reachable on 100.74.17.70 # or 192.168.1.80; no public DNS yet) curl -s -o /tmp/dash-nodeport.html -w "HTTP %{http_code}\n" \ - http://100.74.17.70:30082/ + http://100.74.17.70:31540/ grep -o "