Documentation Index
Fetch the complete documentation index at: https://www.diadata.org/docs/llms.txt
Use this file to discover all available pages before exploring further.
Create a Kubernetes Deployment manifest. Replace <VERSION> with the desired version:apiVersion: apps/v1
kind: Deployment
metadata:
name: decentralized-feeder
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: decentralized-feeder
template:
metadata:
labels:
app: decentralized-feeder
spec:
containers:
- name: feeder-container
image: diadata/decentralized-feeder:<VERSION>
env:
- name: PRIVATE_KEY
valueFrom:
secretKeyRef: {key: private_key_secret, name: private_key_secret}
- name: NODE_OPERATOR_NAME
value: ""
- name: DEPLOYED_CONTRACT
value: ""
- name: CHAIN_ID
value: ""
- name: EXCHANGEPAIRS
value: ""
- name: PUSHGATEWAY_URL
value: ""
- name: PUSHGATEWAY_USER
value: ""
- name: PUSHGATEWAY_PASSWORD
value: ""
- containerPort: 8080
For additional environment variable configurations, refer to Adding Exchange Pairs and Watchdog environment variables. Run the feeder with DEPLOYED_CONTRACT set to an empty string ("") in the Kubernetes manifest.kubectl apply -f deployment.yaml
Monitor the logs for the deployed contract address. See the expected logs here. Update the DEPLOYED_CONTRACT value in the manifest with the retrieved contract address.
Apply the updated manifest:kubectl apply -f deployment.yaml