From 1efa41c1123b3ac60c5d6c1d337e4e5af0b0b557 Mon Sep 17 00:00:00 2001 From: u1 Date: Sat, 10 Jan 2026 12:16:09 +0000 Subject: [PATCH] feat(staging): switch ingestor to dlob stats --- .../overlays/staging/ingestor-dlob-patch.yaml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 kustomize/overlays/staging/ingestor-dlob-patch.yaml diff --git a/kustomize/overlays/staging/ingestor-dlob-patch.yaml b/kustomize/overlays/staging/ingestor-dlob-patch.yaml new file mode 100644 index 0000000..ab234f1 --- /dev/null +++ b/kustomize/overlays/staging/ingestor-dlob-patch.yaml @@ -0,0 +1,36 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: trade-ingestor +spec: + template: + spec: + containers: + - name: ingestor + image: node:20-slim + imagePullPolicy: IfNotPresent + env: + - name: HASURA_GRAPHQL_URL + value: http://hasura:8080/v1/graphql + - name: HASURA_ADMIN_SECRET + valueFrom: + secretKeyRef: + name: trade-hasura + key: HASURA_GRAPHQL_ADMIN_SECRET + - name: DLOB_MARKETS + value: PUMP-PERP,SOL-PERP,1MBONK-PERP,BTC-PERP,ETH-PERP + - name: TICKS_POLL_MS + value: "1000" + - name: TICKS_SOURCE + value: "dlob_stats" + command: ["node"] + args: ["/opt/dlob/dlob-ingestor.mjs"] + volumeMounts: + - name: dlob-script + mountPath: /opt/dlob/dlob-ingestor.mjs + subPath: dlob-ingestor.mjs + readOnly: true + volumes: + - name: dlob-script + configMap: + name: trade-dlob-ingestor-script