Files
mpc/k8s/dashboard-deployment.yaml
zeekay 6193dbf0d3 fix: remove /api/ prefix from all routes — use /v1/ only
Subdomain routing (mpc.lux.network/v1/) not path prefix (/api/v1/).
Updated: server routes, KMS routes, main.go forwarding, compose,
K8s dashboard config, ingressroute, landing page HTML.
2025-12-28 02:13:02 -08:00

59 lines
1.4 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: mpc-dashboard
namespace: lux-mpc
labels:
app: mpc-dashboard
app.kubernetes.io/part-of: lux-mpc
spec:
replicas: 1
selector:
matchLabels:
app: mpc-dashboard
template:
metadata:
labels:
app: mpc-dashboard
app.kubernetes.io/part-of: lux-mpc
spec:
imagePullSecrets:
- name: registry-hanzo
containers:
- name: dashboard
image: ghcr.io/luxfi/mpc-dashboard:latest
ports:
- containerPort: 3000
name: http
protocol: TCP
env:
- name: NEXT_PUBLIC_API_URL
value: "https://mpc.lux.network/v1"
- name: NEXT_PUBLIC_IAM_URL
value: "https://lux.id"
- name: NEXT_PUBLIC_IAM_CLIENT_ID
value: "lux-mpc"
livenessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 10
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi