Files
zeekay 121a85162f k8s(financial): bump lux-financial to v1.2.0
Expanded solutions (10 new industries) and products (Compliance & Data
section) to cover full docs.lux.financial capability surface.
2026-04-20 22:33:19 -07:00

284 lines
6.3 KiB
YAML

---
###############################################################################
# Blockscout Microservices - Mainnet
# SC Verifier, Signature Provider, Stats, Visualizer
###############################################################################
# Smart Contract Verifier
apiVersion: apps/v1
kind: Deployment
metadata:
name: sc-verifier-mainnet
namespace: lux-mainnet
labels:
app: sc-verifier
chain: cchain
network: mainnet
spec:
replicas: 1
selector:
matchLabels:
app: sc-verifier
network: mainnet
template:
metadata:
labels:
app: sc-verifier
chain: cchain
network: mainnet
spec:
containers:
- name: sc-verifier
image: ghcr.io/luxfi/explorer-sc-verifier:v1.10.3
ports:
- containerPort: 8050
protocol: TCP
env:
- name: SMART_CONTRACT_VERIFIER__SERVER__HTTP__ADDR
value: "0.0.0.0:8050"
resources:
requests:
cpu: 200m
memory: 256Mi
limits:
cpu: "1"
memory: 1Gi
readinessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: sc-verifier-mainnet
namespace: lux-mainnet
labels:
app: sc-verifier
network: mainnet
spec:
selector:
app: sc-verifier
network: mainnet
ports:
- port: 8050
targetPort: 8050
---
# Signature Provider
apiVersion: apps/v1
kind: Deployment
metadata:
name: sig-provider-mainnet
namespace: lux-mainnet
labels:
app: sig-provider
network: mainnet
spec:
replicas: 1
selector:
matchLabels:
app: sig-provider
network: mainnet
template:
metadata:
labels:
app: sig-provider
network: mainnet
spec:
containers:
- name: sig-provider
image: ghcr.io/luxfi/explorer-sig-provider:v1.1.1
ports:
- containerPort: 8050
protocol: TCP
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
readinessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: sig-provider-mainnet
namespace: lux-mainnet
labels:
app: sig-provider
network: mainnet
spec:
selector:
app: sig-provider
network: mainnet
ports:
- port: 8050
targetPort: 8050
---
# Stats Service
apiVersion: apps/v1
kind: Deployment
metadata:
name: stats-mainnet
namespace: lux-mainnet
labels:
app: stats
network: mainnet
spec:
replicas: 1
selector:
matchLabels:
app: stats
network: mainnet
template:
metadata:
labels:
app: stats
network: mainnet
spec:
containers:
- name: stats
image: ghcr.io/luxfi/explorer-stats:v2.14.0
ports:
- containerPort: 8050
protocol: TCP
env:
- name: STATS__DB_URL
value: "postgresql://explorer:[email protected]:5432/explorer_mainnet"
- name: STATS__BLOCKSCOUT_DB_URL
value: "postgresql://explorer:[email protected]:5432/explorer_mainnet"
- name: STATS__CREATE_DATABASE
value: "false"
- name: STATS__RUN_MIGRATIONS
value: "true"
- name: STATS__BLOCKSCOUT_API_URL
value: "http://explorer-mainnet.lux-mainnet.svc.cluster.local:4000"
- name: STATS__SERVER__HTTP__ADDR
value: "0.0.0.0:8050"
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 1Gi
readinessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: stats-mainnet
namespace: lux-mainnet
labels:
app: stats
network: mainnet
spec:
selector:
app: stats
network: mainnet
ports:
- port: 8050
targetPort: 8050
---
# Solidity Visualizer
apiVersion: apps/v1
kind: Deployment
metadata:
name: visualizer-mainnet
namespace: lux-mainnet
labels:
app: visualizer
network: mainnet
spec:
replicas: 1
selector:
matchLabels:
app: visualizer
network: mainnet
template:
metadata:
labels:
app: visualizer
network: mainnet
spec:
containers:
- name: visualizer
image: ghcr.io/luxfi/explorer-visualizer:v0.2.1
ports:
- containerPort: 8050
protocol: TCP
resources:
requests:
cpu: 100m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
readinessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
livenessProbe:
httpGet:
path: /health
port: 8050
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 5
---
apiVersion: v1
kind: Service
metadata:
name: visualizer-mainnet
namespace: lux-mainnet
labels:
app: visualizer
network: mainnet
spec:
selector:
app: visualizer
network: mainnet
ports:
- port: 8050
targetPort: 8050