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
| Parameter | Description |
|---|---|
testnetName | Mina protocol testnet name to deploy to |
coda.seedPeers | peers to bootstrap the archive node's Mina daemon |
archive.fullame | name identifier of archive node pod |
Optional Settings
| Parameter | Description | Default |
|---|---|---|
archive.image | container image to use for operating an archive node | codaprotocol/coda-archive:0.0.12-beta-fix-archive-debs-62bae52 |
archive.postgresHost | Postgres database host to store archival data | see [default] values.yaml |
archive.postgresPort | Postgres database port | 5432 |
archive.postgresDB | Postgres database to store archival data | archive |
archive.postgresUri | Postgres connection URI to access postgres datastore instance | see [default] values.yaml |
archive.remoteSchemaFile | archive database schema during initialization | see [default] values.yaml |
archive.hostPort | Kubernetes node port to expose | 10909 |
postgres.postgresqlUsername | Postgress database access username (if set) | postgres |
postgres.postgresPassword | Postgres database access password (if set) | foobar |
coda.image | container image to use for operating the archive node's Coda daemon | codaprotocol/coda-daemon:0.0.14-rosetta-scaffold-inversion-489d898 |
coda.logLevel | log level to set for Coda daemon | TRACE |
coda.logSnarkWorkGossip | whether the Coda daemon should log SNARK work gossip | false |
coda.runtimeConfig | Coda daemon configuration to use at runtime | undefined |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartarchive-node is pinned at v1.1.7 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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