bee-localchain

by Ethersphere

Helm chartv0.2.0App latestVerified publisher

Bee localchain Helm chart for Kubernetes

About this chart

Bee localchain Helm Chart

Bee localchain is a lightweight single node blockchain, based on hardhat, used for Bee development environments.

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/bee-localchain

Introduction

This chart deploys a Bee localchain 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/bee-localchain

The command deploys Bee localchain 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 bee-localchain.yaml file as shown bellow:

namespaces:
  bee-localchain:
    
helmRepos:
  ethersphere: "https://ethersphere.github.io/helm"
    
apps:
  bee-localchain:
    name: bee-localchain
    namespace: bee-localchain
    description: "Bee localchain"
    chart: "ethersphere/bee-localchain"
    version: "0.1.0"
    enabled: true
    wait: true
    timeout: 120

Execute following command:

$ helmsman -apply -f bee-localchain.yaml 

Uninstalling

Execute following command:

$ helmsman -destroy -f bee-localchain.yaml 

Deploy bee-localchain with OpenTenant

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