The zoo manifests, the compose file and the e2e helpers all composed /v1/bc addresses against luxd, which answers under /v1/chain and no longer serves the old segment. A line that records an observation keeps its original spelling. Co-authored-by: Hanzo Dev <[email protected]>
147 lines
3.2 KiB
YAML
147 lines
3.2 KiB
YAML
# Generated from the live zoo-system/zoo-bridge Deployment on do-sfo3-zoo-k8s
|
|
# by hack/live2values.py. Live is the source: a repo of hand-applied
|
|
# manifests has unknown currency, the running fleet does not.
|
|
replicas: 0
|
|
selectorLabels:
|
|
app: zoo-bridge
|
|
containerName: bridge
|
|
image:
|
|
repository: ghcr.io/zooai/bridge
|
|
tag: main-amd64
|
|
pullPolicy: Always
|
|
partOf: zoo
|
|
labels:
|
|
app.kubernetes.io/cluster: zoo-k8s
|
|
app.kubernetes.io/env: system
|
|
env:
|
|
- name: BRIDGE_TENANT
|
|
value: zoo
|
|
- name: DATABASE_URL
|
|
value: sqlite:///app/data/data.db
|
|
- name: ZOO_RPC_URL
|
|
value: http://zoo-rpc:9650/v1/chain/zoo/rpc
|
|
- name: LUX_RPC_URL
|
|
valueFrom:
|
|
configMapKeyRef:
|
|
key: lux-rpc-url
|
|
name: zoo-config
|
|
- name: THRESHOLD_RPC_URL
|
|
value: http://zoo-rpc:9650/v1/chain/zoo-threshold/rpc
|
|
- name: IDENTITY_RPC_URL
|
|
value: http://zoo-rpc:9650/v1/chain/zoo-identity/rpc
|
|
- name: KEY_RPC_URL
|
|
value: http://zoo-rpc:9650/v1/chain/zoo-keys/rpc
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
volumeMounts:
|
|
- mountPath: /app/data
|
|
name: data
|
|
livenessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /healthz
|
|
port: 3000
|
|
scheme: HTTP
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
readinessProbe:
|
|
failureThreshold: 3
|
|
httpGet:
|
|
path: /healthz
|
|
port: 3000
|
|
scheme: HTTP
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
successThreshold: 1
|
|
timeoutSeconds: 1
|
|
ports:
|
|
- containerPort: 3000
|
|
name: http
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: zoo-bridge-data
|
|
- configMap:
|
|
name: replicate-config
|
|
name: replicate-config
|
|
initContainers:
|
|
- args:
|
|
- restore
|
|
- -if-db-not-exists
|
|
- -if-replica-exists
|
|
- /app/data/data.db
|
|
env:
|
|
- name: LITESTREAM_ACCESS_KEY_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: ACCESS_KEY
|
|
name: s3-credentials
|
|
- name: LITESTREAM_SECRET_ACCESS_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: SECRET_KEY
|
|
name: s3-credentials
|
|
- name: POD_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
apiVersion: v1
|
|
fieldPath: metadata.name
|
|
image: ghcr.io/hanzoai/replicate:0.6.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: replicate-restore
|
|
volumeMounts:
|
|
- mountPath: /app/data
|
|
name: data
|
|
- mountPath: /etc/litestream.yml
|
|
name: replicate-config
|
|
subPath: litestream.yml
|
|
imagePullSecrets:
|
|
- name: ghcr-secret
|
|
- name: hanzo
|
|
sidecars:
|
|
- args:
|
|
- replicate
|
|
env:
|
|
- name: LITESTREAM_ACCESS_KEY_ID
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: ACCESS_KEY
|
|
name: s3-credentials
|
|
- name: LITESTREAM_SECRET_ACCESS_KEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: SECRET_KEY
|
|
name: s3-credentials
|
|
- name: POD_NAME
|
|
valueFrom:
|
|
fieldRef:
|
|
apiVersion: v1
|
|
fieldPath: metadata.name
|
|
image: ghcr.io/hanzoai/replicate:0.6.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: replicate
|
|
resources:
|
|
limits:
|
|
memory: 64Mi
|
|
requests:
|
|
cpu: 10m
|
|
memory: 16Mi
|
|
volumeMounts:
|
|
- mountPath: /app/data
|
|
name: data
|
|
- mountPath: /etc/litestream.yml
|
|
name: replicate-config
|
|
subPath: litestream.yml
|
|
strategy: Recreate
|
|
topologySpread:
|
|
enabled: false
|
|
lifecycle: null
|
|
terminationGracePeriodSeconds: 30
|