erigon

by Test in Prod

Helm chartv0.0.5App v1.10.26Verified publisher

A Helm chart for Ethereum Execution Engine for efficiency frontier, erigon.

About this chart

Erigon

Erigon is an efficiency frontier execution engine for EVM network. This is a Erigon Helm Chart packaged by Test in Prod.

Introduction

You can use this chart for any EVM network including Optimism.

Please refer to the example values for Optimism Goerli here.

LFG

helm install erigon-release op-charts/erigon -f values.yaml

Requirements

  1. K8s 1.8+
  2. Helm 3.2.0+
  3. OP Vibe 🎶

Parameters

This chart connects to Ethereum Mainnet in default. Please refer to the Erigon flag code for the detail!

Erigon Parameters

NameDescriptionValue
predefinedNetworkPre-defined application config set. Choices are mainnet, optimism-goerli, goerli, sepolia, or blank.mainnet
rpc.http.enabledHTTP RPC switchtrue
rpc.http.apiAPI list for HTTP RPC"eth,erigon,engine,debug,engine,txpool"
authrpc.enabledAuth RPC switchtrue
authrpc.jwtSecret.fileJWT Secret key for Auth RPC. PLEASE change this value if you are going to use AuthRPC."abf3a433bfe1f8faa262ad82b3ec5fa572e9c045a4c44bd3b21998e77fd3632a"
pprof.enabledpprof switchtrue
metrics.enabledmetrics switchtrue
dataPathPath for the Erigon DB."/data"
importTarURLYou can import an entire Erigon DB of this URL. .tar file should contain chaindata, and nodes directory on the top.""
networkIDNetwork ID1
maxPeersMax list of peers.50
argsOther application arguments for op-node[]

Deployment Parameters

NameDescriptionValue
replicaCountNumber of op-node replicas to deploy1
livenessProbelivenessProbe switch for op-nodetrue
readinessProbereadinessProbe switch for op-nodetrue
rpc.http.port.containerPortContainer port for HTTP RPC connections8545
rpc.http.port.hostPortHost port for HTTP RPC connections8545
rpc.http.addrListening address for HTTP RPC0.0.0.0
authrpc.port.containerPortAuthRPC container port8551
authrpc.port.hostPortAuthRPC host port8551
authrpc.addrAuthRPC listening address0.0.0.0
pprof.port.containerPortpprof container port6060
pprof.port.hostPortpprof host port6060
pprof.addrpprof listening address0.0.0.0
metrics.port.containerPortmetrics container port7300
metrics.port.hostPortmetrics host port7300
metrics.addrmetrics listening address0.0.0.0
persistence.sizepersistence disk size. Recommending 2TB+ for mainnet and 200GB+ for Optimism Goerli.200Gi

Common Parameters

NameDescriptionValue
fullnameOverrideString to fully override op-node.fullname template""
nameOverrideString to fully override op-node.name""
service.typeService type"LoadBalancer"
resourcesThe resources limits for the op-node{}
nodeSelectorNode labels for pod assignment. Evaluated as a template.{}
tolerationsTolerations for pod assignment. Evaluated as a template.[]
affinityAffinity for pod assignment{}

Kudos

  • Kudos to Bitnami and Dysnix for providing decent template references.
  • Of course, thanks Erigon team, OP Labs, and Optimism Foundation for building an amazing technology.

Deploy erigon with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has erigon 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 charterigon is pinned at v0.0.5 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