tokenexporter

by Ethersphere

Helm chartv0.3.0App latestVerified publisher

Tokenexporter Helm chart for Kubernetes

About this chart

Tokenexporter Helm Chart

Tokenexporter is a lightweight Prometheus exporter that will output ERC20 Token balances from a list of addresses you specify.

Prerequisites

Make sure you have Helm installed installed.

Get Repo Info

helm repo add ethersphere https://ethersphere.github.io/helm
helm repo update

See helm repo for command documentation.

QuickStart

$ helm install --generate-name ethersphere/tokenexporter

Introduction

This chart deploys a Tokenexporter onto a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.15
  • Helm 3.0

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release ethersphere/tokenexporter

The command deploys Tokenexporter on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The default configuration values for this chart are listed in values.yaml.

Helmsman Usage

Prerequisites

  • Kubernetes 1.15
  • Helm 3.0
  • Helmsman 3.0

Installing

Create tokenexporter.yaml file as shown bellow:

namespaces:
  tokenexporter:
    
helmRepos:
  ethersphere: "https://ethersphere.github.io/helm"
    
apps:
  tokenexporter:
    name: tokenexporter
    namespace: tokenexporter
    description: "Tokenexporter"
    chart: "ethersphere/tokenexporter"
    version: "0.1.0"
    enabled: true
    wait: true
    timeout: 120

Execute following command:

$ helmsman -apply -f tokenexporter.yaml 

Uninstalling

Execute following command:

$ helmsman -destroy -f tokenexporter.yaml 

Deploy tokenexporter with OpenTenant

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