op-node

by Test in Prod

Helm chartv0.0.2App v0.10.13Verified publisher

A consensus engine for OP Stack. You can build a new OP Stack chain or connect to an existing one.

About this chart

OP Node

OP Node is a consensus engine for OP Stack. This is a OP Node Helm Chart packaged by Test in Prod.

Introduction

You can build a new OP Stack chain or connect to an existing one. You need an OP execution engine that works along with OP Node.

Please refer to the example values for Optimism Goerli here.

LFG

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

Requirements

  1. K8s 1.8+
  2. Helm 3.2.0+
  3. OP Execution Engine with EngineAPI access.
  4. OP Vibe 🎶

Parameters

This chart connects to Optimism Goerli Testnet in default. Please refer to the op-node's flag code for the detail!

Required Parameters

NameDescriptionValue
l2.rpcAddrAn OP execution engine address that this OP Node can change the state.""
l2.jwtSecretjwtSecret key that has an admin permission to the execution engine client.""
l1.rpcAddrRPC address of your L2's L1."DSRV AllthatNode Goerli Network"

OP Node Parameters

NameDescriptionValue
sequencer.enabledIf this op-node will work as a sequencer or not.false
sequencer.p2pKeyA key that op-node will sign as a sequencer upon p2p sync""
p2p.enabledp2p switchtrue
p2p.priv.fileA private file to sign message for p2p message""
snapshotLogPathPath to the snapshot log file/logs
rollupConfig.fileA JSON that has rollup's rollup params. This should not be used with network param""
networkName of the network. There are some hardcoded network configs in the codebase. Please refer to the op-node repo.goerli
metrics.enabledPrometheus switch for the metricstrue
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.port.containerPortContainer port for RPC connections8545
rpc.port.hostPortHost port for RPC connections7545
rpc.addrListening address for RPC0.0.0.0
listen.ipp2p listening address0.0.0.0
listen.tcp.containerPortp2p container port for TCP connections9003
listen.tcp.hostPortp2p host port for TCP connections9003
listen.udp.containerPortp2p container port for UDP connections9003
listen.udp.hostPortp2p host port for UDP connections9003
metrics.port.containerPortContainer port for metrics connections7300
metrics.port.hostPortHost port for metrics connections7300
metrics.addrListening address for metrics0.0.0.0
pprof.port.containerPortContainer port for pprof connections6060
pprof.port.hostPortHost port for pprof connections6060
pprof.addrListening address for pprof0.0.0.0

Common Parameters

NameDescriptionValue
fullnameOverrideString to fully override op-node.fullname template""
nameOverrideString to fully override op-node.name""
service.typeService type"ClusterIP"
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

  • This chart uses DSRV's AllThatNode Goerli public RPC. Shout out to DSRV, the most reliable blockchain infra provider :)
  • Kudos to Bitnami for providing decent template references.
  • Of course, thanks OP Labs and Optimism Foundation for building amazing collective and technology.

Deploy op-node with OpenTenant

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