Implement Kubernetes manifests for ethereum-etl-streaming
medvedev1088 opened this issue · comments
A single Pod runs:
download-last_synced_block
- Job that downloadslast_synced_block.txt
from GCS bucket on node start up. See also init containers.- streaming_service.py - streams blockchain data to PubSub
- health_checker.py - listens on HTTP port for health check requests
gcs-syncd
- uploadslast_synced_block.txt
periodically to GCS bucket and has a preStop hook that uploads the file to GCS bucket before Pod is terminated.- fluentd daemon - uploads logs to GCS bucket
====================
Some code can be found here https://github.com/airswap/ethereum-etl/commit/cc7f86e139d317452c9cf0c975b99feb6ed8d7a0#diff-aa0ae5de65a67b108e5a26ddde9d3adf