substreams-sink-noop

by Nodeify

Helm chartv2.4.1App v1.17.1Verified publisher

A Helm chart for Substreams Sink Noop

About this chart

Substreams Sink Noop Helm Chart

This Helm chart deploys substreams-sink-noop, a tool for processing Substreams data.

Quick Start

Public .spkg packages

substreams_sink_noop:
  config:
    endpoint: "mainnet.eth.streamingfast.io:443"
    manifest: "https://github.com/streamingfast/substreams-eth-block-meta/releases/download/v0.4.1/substreams-eth-block-meta-v0.4.1.spkg"
    module: "graph_out"

Private .spkg packages (via Kubernetes secrets)

  1. Create a secret with your .spkg file:
kubectl create secret generic my-private-spkg \
  --from-file=package.spkg=./your-package.spkg
  1. Configure the chart:
substreams_sink_noop:
  config:
    endpoint: "mainnet.eth.streamingfast.io:443"
    manifest: "/mnt/spkg/package.spkg"
    module: "graph_out"
  
  volumes:
    - name: private-spkg
      secret:
        secretName: my-private-spkg
  
  volumeMounts:
    - name: private-spkg
      mountPath: /mnt/spkg
      readOnly: true
  1. Deploy:
helm install my-sink ./substreams-sink-noop -f values.yaml

Environment Variables

You can set environment variables for the container:

substreams_sink_noop:
  env:
    - name: LOG_LEVEL
      value: "debug"
    - name: TIMEOUT
      value: "30s"
    - name: API_KEY
      valueFrom:
        secretKeyRef:
          name: my-secret
          key: api-key

Configuration

See values.yaml for all available configuration options.

Deploy substreams-sink-noop with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has substreams-sink-noop on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartsubstreams-sink-noop is pinned at v2.4.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply