geth

by Test in Prod

Helm chartv0.0.3App v1.10.26Verified publisher

A Helm chart for Ethereum Execution Engine, geth.

About this chart

Geth

Geth is an execution engine for EVM network. This is a Geth 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 geth-release op-charts/geth -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 Geth flag docs for the detail!

Geth 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"net,eth,personal,web3,debug,engine,txpool"
rpc.ws.enabledWS RPC switchtrue
rpc.ws.apiAPI list for WS RPC"net,eth,personal,web3,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 Geth DB."/data"
importTarURLYou can import an entire Geth DB of this URL. .tar file should contain geth directory on the top.""
networkIDNetwork ID1
maxPeersMax list of peers.50
syncModeMethod for syncing. Choices are snap and full."snap"
cacheMemory size for the application. 4096MB is recommended for the mainnet.4096
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
rpc.ws.port.containerPortContainer port for WS RPC connections8546
rpc.ws.port.hostPortHost port for WS RPC connections8546
rpc.ws.addrListening address for WS 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 Ethereum Foundation, OP Labs, and Optimism Foundation for building an amazing technology.

Deploy geth with OpenTenant

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