Files
zeekayandHanzo Dev 425b96f66e the cluster is named, not addressed by a gone account
Every provenance line and manifest still named a DigitalOcean context, and
the ARC values described a pool that died with it. A cluster gets a name
here; the address it answers on belongs to the private record.

Co-authored-by: Hanzo Dev <[email protected]>
2026-09-16 16:15:33 -07:00

106 lines
2.8 KiB
YAML

---
###############################################################################
# MPC Dashboard (mpc.lux.network)
# Image: ghcr.io/luxfi/mpc-dashboard:1.1.3 (Next.js 14, standalone)
# Cluster: lux-k8s (lux-k8s)
#
# The ingress (ingress.yaml) routes mpc.lux.network -> mpc-dashboard-svc:3000.
# This manifest was missing, causing a blank page / 503 on mpc.lux.network.
###############################################################################
apiVersion: apps/v1
kind: Deployment
metadata:
name: mpc-dashboard
namespace: lux-mpc
labels:
app: mpc-dashboard
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: mpc-dashboard
template:
metadata:
labels:
app: mpc-dashboard
spec:
imagePullSecrets:
- name: ghcr-luxfi
terminationGracePeriodSeconds: 30
containers:
- name: dashboard
image: ghcr.io/luxfi/mpc-dashboard:1.1.3
imagePullPolicy: Always
env:
- name: NODE_ENV
value: "production"
- name: PORT
value: "3000"
- name: NEXT_TELEMETRY_DISABLED
value: "1"
# API URL: proxied via Next.js rewrites in production,
# or set explicitly for SSR calls
- name: NEXT_PUBLIC_API_URL
value: "https://mpc-api.lux.network/api/v1"
- name: NEXT_PUBLIC_IAM_URL
value: "https://lux.id"
- name: NEXT_PUBLIC_IAM_CLIENT_ID
value: "lux-mpc"
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 250m
memory: 512Mi
readinessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
startupProbe:
httpGet:
path: /healthz
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 30
---
apiVersion: v1
kind: Service
metadata:
name: mpc-dashboard-svc
namespace: lux-mpc
labels:
app: mpc-dashboard
spec:
type: ClusterIP
selector:
app: mpc-dashboard
ports:
- name: http
port: 3000
targetPort: http
protocol: TCP