Files
universe/deploy/lux-ns/exchange-api.yaml
T
zeekayandHanzo Dev 6e013d6eb3 retire graph-node: the explorer bundles graph and indexer
luxfi/explorer carries luxfi/graph and luxfi/indexer, and every network's
exchange-api already reads it at /v1/graph/{slug}/{amm,dex}/graphql. A second
Graph Protocol stack -- graph-node, its postgres, its ipfs -- served nothing.

Removes its declarations, its repo entry, and two stale exchange-api
declarations that still named it: lux-explorer runs no exchange-api at all,
and lux-ns runs from deploy/, so applying either would have pointed a live
service at a service that no longer exists.

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-28 12:41:53 -07:00

70 lines
1.8 KiB
YAML

# Generated from the live lux-ns/exchange-api Deployment on do-sfo3-lux-k8s
# by hack/live2values.py. Live is the source: a repo of hand-applied
# manifests has unknown currency, the running fleet does not.
replicas: 2
selectorLabels:
app: exchange-api
image:
repository: ghcr.io/luxfi/exchange-api
tag: 2.3.34
pullPolicy: IfNotPresent
env:
- name: PORT
value: '4000'
# One AMM source on every network: the native graph in the explorer image, which
# bundles luxfi/graph and luxfi/indexer. It reads each token's decimals from the
# token, so a pool is priced by what the chain says rather than by a figure
# carried beside it.
- name: SUBGRAPH_URL
value: http://explorer.lux-mainnet.svc.cluster.local:8090/v1/graph/cchain/amm/graphql
- name: DEX_SUBGRAPH_URL
value: http://explorer.lux-mainnet.svc.cluster.local:8090/v1/graph/cchain/dex/graphql
- name: NETWORK
value: mainnet
- name: LUX_RPC_URL
value: http://luxd-headless.lux-mainnet.svc.cluster.local:9630/v1/bc/C/rpc
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 128Mi
livenessProbe:
failureThreshold: 3
httpGet:
path: /health
port: 4000
scheme: HTTP
periodSeconds: 30
successThreshold: 1
timeoutSeconds: 1
readinessProbe:
failureThreshold: 3
httpGet:
path: /health
port: 4000
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
ports:
- containerPort: 4000
imagePullSecrets:
- name: ghcr-secret
- name: ghcr-luxfi-fresh
- name: ghcr-luxfi
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
topologySpread:
enabled: false
lifecycle: null
terminationGracePeriodSeconds: 30
# Enforcement switch, read by the lux-fleet ApplicationSet's templatePatch --
# not by the chart. selfHeal returns a hand-edited object to what is written
# here; prune stays off, so nothing is ever deleted.
cd:
automated: true