archive-node

by O(1) Labs

Helm chartv1.1.7App 1.16.0Verified publisher

A Helm chart for Mina Protocol's archive node

About this chart

Introduction

This chart bootstraps a Mina protocol Testnet archive node and associated Postgres database.

Add Mina Helm chart repository:

helm repo add mina https://coda-charts.storage.googleapis.com
helm repo update

Configuration

The following table lists the configurable parameters of the archive-node chart and its default values.

Required Settings

ParameterDescription
testnetNameMina protocol testnet name to deploy to
coda.seedPeerspeers to bootstrap the archive node's Mina daemon
archive.fullamename identifier of archive node pod

Optional Settings

ParameterDescriptionDefault
archive.imagecontainer image to use for operating an archive nodecodaprotocol/coda-archive:0.0.12-beta-fix-archive-debs-62bae52
archive.postgresHostPostgres database host to store archival datasee [default] values.yaml
archive.postgresPortPostgres database port5432
archive.postgresDBPostgres database to store archival dataarchive
archive.postgresUriPostgres connection URI to access postgres datastore instancesee [default] values.yaml
archive.remoteSchemaFilearchive database schema during initializationsee [default] values.yaml
archive.hostPortKubernetes node port to expose10909
postgres.postgresqlUsernamePostgress database access username (if set)postgres
postgres.postgresPasswordPostgres database access password (if set)foobar
coda.imagecontainer image to use for operating the archive node's Coda daemoncodaprotocol/coda-daemon:0.0.14-rosetta-scaffold-inversion-489d898
coda.logLevellog level to set for Coda daemonTRACE
coda.logSnarkWorkGossipwhether the Coda daemon should log SNARK work gossipfalse
coda.runtimeConfigCoda daemon configuration to use at runtimeundefined

archive-node launch examples

helm install archive-node \
    --set testnetName=pickles \
    --set coda.seedPeers=['/dns4/coda-testnet-seed-one.pickles.o1test.net/tcp/10002/p2p/12D3KooWP7fTKbyiUcYJGajQDpCFo2rDexgTHFJTxCH8jvcL1eAH]

Deploy archive-node with OpenTenant

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