guardrail/deploy/k8s/dashboard.yaml
caelum0x 2d2b15c7fe feat: full guardrail-alpha system + CLI modularization + Vercel deploy config
- Rust engine: real bootstrap/wiring preflight (guardrail-agent), execution layer (retry/router/pre-trade/post-trade/reconciliation), guardrail-doctor diagnostics with allowlist-drift guard.

- guardrail-cli: extracted pure helpers into util.rs (split in progress).

- 6 Track-2 skills + ensemble; python-lab analytics (regime/drawdown/montecarlo/dossier/ensemble/journal/seed); clients (ts/py/go/mcp/langchain/web-lite/proof-verifier); alert relay; scenarios; helm/k8s/compose; docs.

- dashboard/vercel.json + docs/VERCEL_DEPLOY.md for Vercel deployment.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 11:02:22 +03:00

41 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: guardrail-dashboard
namespace: guardrail
labels:
app.kubernetes.io/name: guardrail-dashboard
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: guardrail-dashboard
template:
metadata:
labels:
app.kubernetes.io/name: guardrail-dashboard
spec:
containers:
- name: dashboard
image: guardrail/dashboard:latest
env:
# Browser-facing API URL; set to the externally-routable API address.
- { name: NEXT_PUBLIC_API_URL, value: "http://localhost:8080" }
- { name: NODE_ENV, value: production }
ports:
- { name: http, containerPort: 3000 }
resources:
requests: { cpu: "100m", memory: "128Mi" }
limits: { cpu: "1", memory: "512Mi" }
---
apiVersion: v1
kind: Service
metadata:
name: guardrail-dashboard
namespace: guardrail
spec:
selector:
app.kubernetes.io/name: guardrail-dashboard
ports:
- { name: http, port: 3000, targetPort: 3000 }