Files
Hanzo AI 87f523f69b scrub: subnet/l2 → chain (canonical vocabulary, forward-only)
Wire-format codec IDs unchanged. CLI aliases deleted; chain is the
command. No backwards-compat shims, no deprecation comments.
2026-05-31 15:16:45 -07:00

403 lines
9.3 KiB
YAML

---
###############################################################################
# Lux Explore Frontend for app chain EVM chains (Mainnet)
# Image: ghcr.io/luxfi/explore:0.1.0 (Next.js 14, Node 22)
# Each chain gets a Deployment + Service, reads config from ConfigMap.
###############################################################################
###############################################################################
# Zoo Frontend
###############################################################################
apiVersion: apps/v1
kind: Deployment
metadata:
name: lux-frontend-zoo
namespace: lux-explorer
labels:
app: lux-frontend
chain: zoo
network: mainnet
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: lux-frontend
chain: zoo
network: mainnet
template:
metadata:
labels:
app: lux-frontend
chain: zoo
network: mainnet
spec:
terminationGracePeriodSeconds: 30
containers:
- name: frontend
image: ghcr.io/luxfi/explore:0.1.0
imagePullPolicy: Always
env:
- name: HOSTNAME
value: "0.0.0.0"
envFrom:
- configMapRef:
name: frontend-config-zoo
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 250m
memory: 512Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 30
---
apiVersion: v1
kind: Service
metadata:
name: lux-frontend-zoo
namespace: lux-explorer
labels:
app: lux-frontend
chain: zoo
network: mainnet
spec:
type: ClusterIP
selector:
app: lux-frontend
chain: zoo
network: mainnet
ports:
- name: http
port: 3000
targetPort: http
protocol: TCP
---
###############################################################################
# Hanzo Frontend
###############################################################################
apiVersion: apps/v1
kind: Deployment
metadata:
name: lux-frontend-hanzo
namespace: lux-explorer
labels:
app: lux-frontend
chain: hanzo
network: mainnet
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: lux-frontend
chain: hanzo
network: mainnet
template:
metadata:
labels:
app: lux-frontend
chain: hanzo
network: mainnet
spec:
terminationGracePeriodSeconds: 30
containers:
- name: frontend
image: ghcr.io/luxfi/explore:0.1.0
imagePullPolicy: Always
env:
- name: HOSTNAME
value: "0.0.0.0"
envFrom:
- configMapRef:
name: frontend-config-hanzo
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 250m
memory: 512Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 30
---
apiVersion: v1
kind: Service
metadata:
name: lux-frontend-hanzo
namespace: lux-explorer
labels:
app: lux-frontend
chain: hanzo
network: mainnet
spec:
type: ClusterIP
selector:
app: lux-frontend
chain: hanzo
network: mainnet
ports:
- name: http
port: 3000
targetPort: http
protocol: TCP
---
###############################################################################
# SPC Frontend
###############################################################################
apiVersion: apps/v1
kind: Deployment
metadata:
name: lux-frontend-spc
namespace: lux-explorer
labels:
app: lux-frontend
chain: spc
network: mainnet
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: lux-frontend
chain: spc
network: mainnet
template:
metadata:
labels:
app: lux-frontend
chain: spc
network: mainnet
spec:
terminationGracePeriodSeconds: 30
containers:
- name: frontend
image: ghcr.io/luxfi/explore:0.1.0
imagePullPolicy: Always
env:
- name: HOSTNAME
value: "0.0.0.0"
envFrom:
- configMapRef:
name: frontend-config-spc
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 250m
memory: 512Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 30
---
apiVersion: v1
kind: Service
metadata:
name: lux-frontend-spc
namespace: lux-explorer
labels:
app: lux-frontend
chain: spc
network: mainnet
spec:
type: ClusterIP
selector:
app: lux-frontend
chain: spc
network: mainnet
ports:
- name: http
port: 3000
targetPort: http
protocol: TCP
---
###############################################################################
# Pars Frontend
###############################################################################
apiVersion: apps/v1
kind: Deployment
metadata:
name: lux-frontend-pars
namespace: lux-explorer
labels:
app: lux-frontend
chain: pars
network: mainnet
spec:
replicas: 1
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
maxUnavailable: 0
selector:
matchLabels:
app: lux-frontend
chain: pars
network: mainnet
template:
metadata:
labels:
app: lux-frontend
chain: pars
network: mainnet
spec:
terminationGracePeriodSeconds: 30
containers:
- name: frontend
image: ghcr.io/luxfi/explore:0.1.0
imagePullPolicy: Always
env:
- name: HOSTNAME
value: "0.0.0.0"
envFrom:
- configMapRef:
name: frontend-config-pars
ports:
- name: http
containerPort: 3000
protocol: TCP
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 250m
memory: 512Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 5
timeoutSeconds: 3
failureThreshold: 3
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
startupProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 5
timeoutSeconds: 5
failureThreshold: 30
---
apiVersion: v1
kind: Service
metadata:
name: lux-frontend-pars
namespace: lux-explorer
labels:
app: lux-frontend
chain: pars
network: mainnet
spec:
type: ClusterIP
selector:
app: lux-frontend
chain: pars
network: mainnet
ports:
- name: http
port: 3000
targetPort: http
protocol: TCP