op-geth

by op-chain-charts

Helm chartv0.1.2App v1.10.26Verified publisher

A Helm chart for Ethereum Execution Engine, geth.

About this chart

Op Geth

Geth is an execution engine for EVM network. This is a OP Geth Helm Chart forked from Test in Prod in order to support customization of OP Stack chains.

Introduction

Please refer to the example values here.

The default values were built according to the tutorial here.

Install

helm install op-geth-release op-chain-charts/op-geth -f values.yaml

Requirements

  1. K8s 1.8+
  2. Helm 3.2.0+

Parameters

Op Geth Parameters

NameDescriptionValue
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"
networkIDNetwork ID1
maxPeersMax list of peers.50
syncModeMethod for syncing. Choices are snap and full."snap"
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{}

Deploy op-geth with OpenTenant

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