erigon
by Test in Prod
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
- K8s 1.8+
- Helm 3.2.0+
- OP Vibe 🎶
Parameters
This chart connects to Ethereum Mainnet in default. Please refer to the Erigon flag code for the detail!
Erigon Parameters
| Name | Description | Value |
|---|---|---|
predefinedNetwork | Pre-defined application config set. Choices are mainnet, optimism-goerli, goerli, sepolia, or blank. | mainnet |
rpc.http.enabled | HTTP RPC switch | true |
rpc.http.api | API list for HTTP RPC | "eth,erigon,engine,debug,engine,txpool" |
authrpc.enabled | Auth RPC switch | true |
authrpc.jwtSecret.file | JWT Secret key for Auth RPC. PLEASE change this value if you are going to use AuthRPC. | "abf3a433bfe1f8faa262ad82b3ec5fa572e9c045a4c44bd3b21998e77fd3632a" |
pprof.enabled | pprof switch | true |
metrics.enabled | metrics switch | true |
dataPath | Path for the Erigon DB. | "/data" |
importTarURL | You can import an entire Erigon DB of this URL. .tar file should contain chaindata, and nodes directory on the top. | "" |
networkID | Network ID | 1 |
maxPeers | Max list of peers. | 50 |
args | Other application arguments for op-node | [] |
Deployment Parameters
| Name | Description | Value |
|---|---|---|
replicaCount | Number of op-node replicas to deploy | 1 |
livenessProbe | livenessProbe switch for op-node | true |
readinessProbe | readinessProbe switch for op-node | true |
rpc.http.port.containerPort | Container port for HTTP RPC connections | 8545 |
rpc.http.port.hostPort | Host port for HTTP RPC connections | 8545 |
rpc.http.addr | Listening address for HTTP RPC | 0.0.0.0 |
authrpc.port.containerPort | AuthRPC container port | 8551 |
authrpc.port.hostPort | AuthRPC host port | 8551 |
authrpc.addr | AuthRPC listening address | 0.0.0.0 |
pprof.port.containerPort | pprof container port | 6060 |
pprof.port.hostPort | pprof host port | 6060 |
pprof.addr | pprof listening address | 0.0.0.0 |
metrics.port.containerPort | metrics container port | 7300 |
metrics.port.hostPort | metrics host port | 7300 |
metrics.addr | metrics listening address | 0.0.0.0 |
persistence.size | persistence disk size. Recommending 2TB+ for mainnet and 200GB+ for Optimism Goerli. | 200Gi |
Common Parameters
| Name | Description | Value |
|---|---|---|
fullnameOverride | String to fully override op-node.fullname template | "" |
nameOverride | String to fully override op-node.name | "" |
service.type | Service type | "LoadBalancer" |
resources | The resources limits for the op-node | {} |
nodeSelector | Node labels for pod assignment. Evaluated as a template. | {} |
tolerations | Tolerations for pod assignment. Evaluated as a template. | [] |
affinity | Affinity 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charterigon is pinned at v0.0.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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