op-node

by op-chain-charts

Helm chartv0.1.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 forked from Test in Prod in order to support customization of OP Stack chains.

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 here.

The default values were built according to the tutorial here.

Install

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

Requirements

  1. K8s 1.8+
  2. Helm 3.2.0+
  3. OP Execution Engine with EngineAPI access like op-geth

Parameters

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
rollupConfig.fileA JSON that has rollup's rollup params. This should not be used with network param""
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 connections8547
rpc.port.hostPortHost port for RPC connections8547
rpc.addrListening address for RPC0.0.0.0
p2p.listen.ipp2p listening address0.0.0.0
p2p.listen.tcp.containerPortp2p container port for TCP connections9003
p2p.listen.tcp.hostPortp2p host port for TCP connections9003
p2p.listen.udp.containerPortp2p container port for UDP connections9003
p2p.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{}

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.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